summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2015-04-03 20:02:29 +0200
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2015-04-08 16:20:55 +0200
commitc9f0807752f6ae09ee85478c8d16d53d222f6435 (patch)
tree3d64a079934bf59bbe24febd4f9142b840509569 /gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c
parentd1cb1959b2d4190c48409e8be645deee537d4210 (diff)
downloadgst-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.c2
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