diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2015-04-03 20:02:29 +0200 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2015-04-08 16:20:55 +0200 |
commit | c9f0807752f6ae09ee85478c8d16d53d222f6435 (patch) | |
tree | 3d64a079934bf59bbe24febd4f9142b840509569 /gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c | |
parent | d1cb1959b2d4190c48409e8be645deee537d4210 (diff) | |
download | gst-vaapi-c9f0807752f6ae09ee85478c8d16d53d222f6435.tar.gz |
decoder: cast GST_VAAPI_DECODER_STATUS_DROP_FRAME
Since GST_VAAPI_DECODER_STATUS_DROP_FRAME is not part of the enum
GstVaapiDecoderStatus, we need to cast it to avoid compiler complains.
https://bugzilla.gnome.org/show_bug.cgi?id=747312
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c')
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c index c3ab7a68..1bb2a227 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c @@ -550,7 +550,7 @@ error: drop_frame: priv->state &= GST_MPEG_VIDEO_STATE_VALID_SEQ_HEADERS; - return GST_VAAPI_DECODER_STATUS_DROP_FRAME; + return (GstVaapiDecoderStatus) GST_VAAPI_DECODER_STATUS_DROP_FRAME; } static GstVaapiDecoderStatus |