Making vaapidecode tolerate zero size frames
Chris Tapp
opensource at keylevel.com
Wed Jan 7 15:06:26 PST 2015
I'm trying to use vaapi with an mpegts stream (from a DVB streamer). However, the pipelines fail with:
** (gst-launch-1.0:755): CRITICAL **: gst_video_decoder_negotiate_default: assertion 'GST_VIDEO_INFO_WIDTH (&state->info) != 0' failed
ERROR: from element /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstVaapiDecode:vaapidecode0: GStreamer error: negotiation problem.
This is because the first few samples that are received have a zero width (and height) image.
Is there anything I can set so that these frames are dropped and don't cause the pipeline to terminate?
--
Chris Tapp
opensource at keylevel.com
www.keylevel.com
More information about the gstreamer-devel
mailing list