diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2013-05-03 12:33:45 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2013-05-03 12:56:37 +0000 |
commit | 800a167b85346c845c27c85e2a656eafc0851255 (patch) | |
tree | 1e967661c186c8c6a005da9cb62dffa3544173cf | |
parent | bdb33163478fdf95938fbdca7eabad3ea920a277 (diff) | |
download | gstreamer-plugins-base-800a167b85346c845c27c85e2a656eafc0851255.tar.gz |
typefinding: add parsed=false to h264 byte-stream caps
This prevents playbin2 from passing a raw h264 ES stream straight
through to a decodersink without h264parse even if the sink wants
parsed=true (because we use caps intersection instead of a strict
caps subset check to determine compatibility).
-rw-r--r-- | gst/typefind/gsttypefindfunctions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 19ee389c9..d44039379 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -2388,7 +2388,7 @@ h263_video_type_find (GstTypeFind * tf, gpointer unused) /*** video/x-h264 H264 elementary video stream ***/ static GstStaticCaps h264_video_caps = -GST_STATIC_CAPS ("video/x-h264,stream-format=byte-stream"); +GST_STATIC_CAPS ("video/x-h264,stream-format=byte-stream,parsed=(bool)false"); #define H264_VIDEO_CAPS gst_static_caps_get(&h264_video_caps) |