mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-04 15:42:52 +08:00
pull in upstream interface improvements and add a few more gstreamer interfaces
This commit is contained in:
@@ -60,7 +60,7 @@ func playbin(mainLoop *glib.MainLoop) error {
|
||||
// Watch state change events
|
||||
case gst.MessageStateChanged:
|
||||
if _, newState := msg.ParseStateChanged(); newState == gst.StatePlaying {
|
||||
bin := gst.BinFromElement(playbin)
|
||||
bin := gst.ToGstBin(playbin)
|
||||
// Generate a dot graph of the pipeline to GST_DEBUG_DUMP_DOT_DIR if defined
|
||||
bin.DebugBinToDotFile(gst.DebugGraphShowAll, "PLAYING")
|
||||
}
|
||||
|
Reference in New Issue
Block a user