gst/matroska/matroska-demux.c: Use static pad templates with ANY caps for audio and...
authorTim-Philipp Müller <tim@centricular.net>
Mon, 10 Apr 2006 15:43:54 +0000 (15:43 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 10 Apr 2006 15:43:54 +0000 (15:43 +0000)
commit2fb7648fbe7a94a12f846204faa705a428f5cf89
treee2d81c8bc6cd972bf4b2f96aa574994adfed6344
parent9b98e1fd6f3b579313ed7b8316c123fc7e345eb4
gst/matroska/matroska-demux.c: Use static pad templates with ANY caps for audio and video source pads and get rid of ...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_base_init),
(gst_matroska_demux_handle_seek_event),
(gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps),
(gst_matroska_demux_subtitle_caps),
(gst_matroska_demux_plugin_init):
Use static pad templates with ANY caps for audio and video
source pads and get rid of a lot of unnecessary (and partially
broken) code for the template caps. Clean up caps finding
functions. Fixes playback of audio files/streams that do not
contain the sample rate and/or number of channels in the audio
context (happens a lot with vorbis/mp3 .mka files it seems).
Fixes #337183.
Also add myself to copyright holders.
ChangeLog
gst/matroska/matroska-demux.c