diff options
author | Sreerenj Balachandran <sreerenj.balachandran@intel.com> | 2012-08-02 15:56:54 +0300 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2013-01-14 10:11:21 +0100 |
commit | eafdd771aef40a6f68fb0147736393e72a40ed49 (patch) | |
tree | 1e4c4fb571432bfb3f8afc67717e70eeae7d7aa3 /gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c | |
parent | 86af31e426f2924c655a9477fc0dcaf5628cf9ff (diff) | |
download | gst-vaapi-eafdd771aef40a6f68fb0147736393e72a40ed49.tar.gz |
dpb: rename GstVaapiDpbMpeg2 to GstVaapiDpb2.
Move GstVaapiDpbMpeg2 API to a more generic version that could also be
useful to other decoders that require 2 reference pictures, e.g. VC-1.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c')
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c index cde92789..fcbee061 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c @@ -386,7 +386,7 @@ gst_vaapi_decoder_mpeg2_open(GstVaapiDecoderMpeg2 *decoder) gst_vaapi_decoder_mpeg2_close(decoder); - priv->dpb = gst_vaapi_dpb_mpeg2_new(); + priv->dpb = gst_vaapi_dpb2_new(); if (!priv->dpb) return FALSE; @@ -1044,7 +1044,7 @@ fill_picture(GstVaapiDecoderMpeg2 *decoder, GstVaapiPicture *picture) COPY_FIELD(picture_coding_extension, bits, repeat_first_field); COPY_FIELD(picture_coding_extension, bits, progressive_frame); - gst_vaapi_dpb_mpeg2_get_references(priv->dpb, picture, + gst_vaapi_dpb2_get_references(priv->dpb, picture, &prev_picture, &next_picture); switch (pic_hdr->pic_type) { |