GNOME Bugzilla – Bug 556133
h264parse can't be use in decodebin
Last modified: 2009-07-30 12:27:38 UTC
The h264parse doesn't have the correct ranking to be use by decodebin. Following example of mp3parse the caps of sink and source pads should add a boolean to avoid infinite loop in decodebin
Created attachment 120499 [details] [review] correction draft
up because this not fixed in release 0.10.10
There are some more things we need to do for h264 caps. Have a look at http://gstreamer.freedesktop.org/wiki/NewCapsFields. But essentialy this lloks good too.
How much was this tested if it doesn't cause any regressions with one of the possible demuxers before h264parse? Also it might make sense to add parsed=true to the demuxers (if correct) at the same time. Benjamin? The patch itself is correct of course :)
I have tested, since I push the patch, with avidemux and qtdemux on a large set of h264 files and in streaming use case. Maybe it isn't useful to change ranking while h264parse is in plugins-bad.
Hm, the patch in bug #578926 is a bit better (when setting the srcpad caps it actually sets the parsed field in them). Also that bug has patches for the same issue with mpeg4videoparse. I'm closing this one as a duplicate now :) *** This bug has been marked as a duplicate of 578926 ***