mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
Fix decoding of some H.264 streams. e.g. Ice Age 2 trailer.
This commit is contained in:
parent
dfa5bafa5c
commit
6735dc6b68
2 changed files with 3 additions and 2 deletions
1
NEWS
1
NEWS
|
@ -3,6 +3,7 @@ Copyright (C) 2010 Splitted-Desktop Systems
|
|||
|
||||
Version 0.2.4 - DD.May.2010
|
||||
* Fix build with older VA-API 0.29-sds
|
||||
* Fix decoding of some H.264 streams. e.g. Ice Age 2 trailer
|
||||
* Fix video rendering rect within an embedder window (Totem)
|
||||
* Disable GLX rendering when vaapisink uses a foreign X window
|
||||
|
||||
|
|
|
@ -478,10 +478,10 @@ decode_frame(GstVaapiDecoderFfmpeg *ffdecoder, guchar *buf, guint buf_size)
|
|||
buf, buf_size
|
||||
);
|
||||
GST_VAAPI_DISPLAY_UNLOCK(display);
|
||||
if (bytes_read < 0)
|
||||
return GST_VAAPI_DECODER_STATUS_ERROR_UNKNOWN;
|
||||
if (!got_picture)
|
||||
return GST_VAAPI_DECODER_STATUS_ERROR_NO_DATA;
|
||||
if (bytes_read < 0)
|
||||
return GST_VAAPI_DECODER_STATUS_ERROR_UNKNOWN;
|
||||
|
||||
surface = gst_vaapi_context_find_surface_by_id(
|
||||
GST_VAAPI_DECODER_CONTEXT(ffdecoder),
|
||||
|
|
Loading…
Reference in a new issue