projects
/
libde265.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b61b8f
)
Replace deprecated FFmpeg API
author
Andreas Cadhalpun
<Andreas.Cadhalpun@googlemail.com>
Tue, 24 Jan 2023 21:39:16 +0000
(21:39 +0000)
committer
Tobias Frost
<tobi@debian.org>
Tue, 24 Jan 2023 21:39:16 +0000
(21:39 +0000)
Last-Update: <2015-11-02>
Gbp-Pq: Name ffmpeg_2.9.patch
sherlock265/VideoDecoder.cc
patch
|
blob
|
history
diff --git
a/sherlock265/VideoDecoder.cc
b/sherlock265/VideoDecoder.cc
index 119f615235a690d3374c63a9894e7bea5b6ccb7d..b829e1c7f38dc7b7ba7916da7fb327a2d3a40e12 100644
(file)
--- a/
sherlock265/VideoDecoder.cc
+++ b/
sherlock265/VideoDecoder.cc
@@
-237,7
+237,7
@@
void VideoDecoder::convert_frame_swscale(const de265_image* img, QImage & qimg)
}
width = img->get_width();
height = img->get_height();
- sws = sws_getContext(width, height,
PIX_FMT_YUV420P, width, height,
PIX_FMT_BGRA, SWS_FAST_BILINEAR, NULL, NULL, NULL);
+ sws = sws_getContext(width, height,
AV_PIX_FMT_YUV420P, width, height, AV_
PIX_FMT_BGRA, SWS_FAST_BILINEAR, NULL, NULL, NULL);
}
int stride[3];