basevideo: Add the caps to the GstVideoState and clean up caps/codec_data properly
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 27 Jun 2011 07:41:40 +0000 (09:41 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 9 Jul 2011 09:02:01 +0000 (11:02 +0200)
commit525875727aa91998c238fc13fe4477b60527741b
tree5bac48198efa08470ab458836436d43d08ddf7a9
parentfc93c66d3be4dc02af2e9f1215ae43e540bc67e5
basevideo: Add the caps to the GstVideoState and clean up caps/codec_data properly

Having access to the caps in ::set_format can be useful if
non-standard caps fields like the h264 alignment must be accessed.
gst-libs/gst/video/gstbasevideocodec.c
gst-libs/gst/video/gstbasevideocodec.h
gst-libs/gst/video/gstbasevideodecoder.c