GNOME Bugzilla – Bug 773511
flvdemux: Make "no-more-pads-threshold" a property
Last modified: 2017-01-16 14:41:44 UTC
Allows it to be configured differently for different use-cases, specifically the live scenario would probably never want this enabled.
Created attachment 338477 [details] [review] flvdemux: Make "no-more-pads-threshold" a property
Review of attachment 338477 [details] [review]: This should be solved in a better way IMHO, that is with the new GstStreams API, adding/removing pads whenever we want and playbin3/decodebin3 handling that. ::: gst/flv/gstflvdemux.c @@ +91,3 @@ +enum +{ + PROP_00, /* PROP_0 already used by included gstindex.c */ PROP_0 (== 0) is also not a valid GObject property index @@ +3648,3 @@ + + g_object_class_install_property (gobject_class, PROP_NO_MORE_PADS_THRESHOLD, + g_param_spec_int64 ("no-more-pads-threshold", "No-More-Pads Threshold", Why signed? GstClockTime is unsigned, and default would be GST_CLOCK_TIME_NONE, i.e. unsigned
I have a feeling we WONTFIXed this in the past :)
Yes, having properties on demuxers is usually not very useful...
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 764260 ***