videoparsers: Fix GstBaseParse::get_sink_caps() implementations
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 5 Jun 2012 07:30:00 +0000 (09:30 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 5 Jun 2012 07:30:00 +0000 (09:30 +0200)
commit7c6093357b5904c2e5dc7f3c9140748c85575349
tree44e03a8142da42b255032734926fab0388baebe5
parent9f7e70f754aa6cd62045f61e98b1fe0ff59e08a4
videoparsers: Fix GstBaseParse::get_sink_caps() implementations

They should take the filter caps into account and always return
the template caps appended to the actual caps. Otherwise the
parsers stop to accept unparsed streams where upstream does not
know about width, height, etc.

Fixes bug #677401.
gst/videoparsers/gstdiracparse.c
gst/videoparsers/gsth263parse.c
gst/videoparsers/gsth264parse.c
gst/videoparsers/gstmpeg4videoparse.c
gst/videoparsers/gstmpegvideoparse.c