projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8da0a61
)
avviddec: Also proxy the data/size pointers for our wrapper AVBufferRef
author
Sebastian Dröge
<sebastian@centricular.com>
Fri, 26 Jun 2015 18:20:14 +0000
(20:20 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Sun, 28 Jun 2015 10:41:55 +0000
(12:41 +0200)
ext/libav/gstavviddec.c
patch
|
blob
|
history
diff --git
a/ext/libav/gstavviddec.c
b/ext/libav/gstavviddec.c
index
936c455
..
6581a33
100644
(file)
--- a/
ext/libav/gstavviddec.c
+++ b/
ext/libav/gstavviddec.c
@@
-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);