From: David Schleef Date: Mon, 20 Sep 2010 18:26:59 +0000 (-0700) Subject: basevideo: Remove check for old -base X-Git-Tag: 1.19.3~507^2~16479 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a62433722c7150b353ef68abad0b29610091653;p=platform%2Fupstream%2Fgstreamer.git basevideo: Remove check for old -base --- diff --git a/gst-libs/gst/video/gstbasevideodecoder.c b/gst-libs/gst/video/gstbasevideodecoder.c index 42e7b11..edc83a2 100644 --- a/gst-libs/gst/video/gstbasevideodecoder.c +++ b/gst-libs/gst/video/gstbasevideodecoder.c @@ -158,14 +158,8 @@ gst_base_video_decoder_sink_setcaps (GstPad * pad, GstCaps * caps) gst_video_parse_caps_framerate (caps, &state->fps_n, &state->fps_d); gst_video_parse_caps_pixel_aspect_ratio (caps, &state->par_n, &state->par_d); -#if 0 - /* requires 0.10.23 */ state->have_interlaced = gst_video_format_parse_caps_interlaced (caps, &state->interlaced); -#else - state->have_interlaced = gst_structure_get_boolean (structure, - "interlaced", &state->interlaced); -#endif codec_data = gst_structure_get_value (structure, "codec_data"); if (codec_data && G_VALUE_TYPE (codec_data) == GST_TYPE_BUFFER) {