mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
avviddec: Also proxy the data/size pointers for our wrapper AVBufferRef
This commit is contained in:
parent
8da0a61dc0
commit
ad7613be0d
1 changed files with 2 additions and 1 deletions
|
@ -769,7 +769,8 @@ fallback:
|
|||
if (picture->buf[c]) {
|
||||
dframe->avbuffer = picture->buf[c];
|
||||
picture->buf[c] =
|
||||
av_buffer_create (NULL, 0, dummy_free_buffer, dframe, 0);
|
||||
av_buffer_create (picture->buf[c]->data, picture->buf[c]->size,
|
||||
dummy_free_buffer, dframe, 0);
|
||||
} else {
|
||||
picture->buf[c] =
|
||||
av_buffer_create (NULL, 0, dummy_free_buffer, dframe, 0);
|
||||
|
|
Loading…
Reference in a new issue