diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2011-03-30 10:18:23 +0200 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2011-05-16 20:32:23 +0200 |
commit | 1b151caf11829d10705bcb907bab53d5f0022884 (patch) | |
tree | f89d7909536680086f2e84bc82080deecfa6bd4f /ext/schroedinger/gstschrodec.c | |
parent | 550237347b61969958deec9225111a19e0edc36e (diff) | |
download | gstreamer-plugins-bad-1b151caf11829d10705bcb907bab53d5f0022884.tar.gz |
basevideodecoder: really and only set src pad caps whenever requested
... since subclass is expected to be wise enough to know when to do so.
Diffstat (limited to 'ext/schroedinger/gstschrodec.c')
-rw-r--r-- | ext/schroedinger/gstschrodec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/schroedinger/gstschrodec.c b/ext/schroedinger/gstschrodec.c index 791722699..ab2c45a2c 100644 --- a/ext/schroedinger/gstschrodec.c +++ b/ext/schroedinger/gstschrodec.c @@ -382,9 +382,7 @@ parse_sequence_header (GstSchroDec * schro_dec, guint8 * data, int size) state->par_d = video_format.aspect_ratio_denominator; GST_DEBUG ("Pixel aspect ratio is %d/%d", state->par_n, state->par_d); - /* FIXME state points to what is actually in the decoder */ - //gst_base_video_decoder_set_state (GST_BASE_VIDEO_DECODER (schro_dec), - // state); + gst_base_video_decoder_set_src_caps (GST_BASE_VIDEO_DECODER (schro_dec)); } else { GST_WARNING ("Failed to get frame rate from sequence header"); } |