FreeBSD Bugzilla – Attachment 224958 Details for
Bug 255687
www/chromium crashes on Microsoft Teams
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for h264 decoder allowing to watch shared screen under Microsoft Teams
patch-third__party_webrtc_modules_video__coding_codecs_h264_h264__decoder__impl.cc (text/plain), 1.02 KB, created by
Marek Zarychta
on 2021-05-15 05:43:44 UTC
(
hide
)
Description:
Patch for h264 decoder allowing to watch shared screen under Microsoft Teams
Filename:
MIME Type:
Creator:
Marek Zarychta
Created:
2021-05-15 05:43:44 UTC
Size:
1.02 KB
patch
obsolete
>--- third_party/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc.orig 2021-05-10 20:48:00.000000000 +0200 >+++ third_party/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc 2021-05-15 07:03:40.631211000 +0200 >@@ -77,7 +77,7 @@ > int height = av_frame->height; > // See |lowres|, if used the decoder scales the image by 1/2^(lowres). This > // has implications on which resolutions are valid, but we don't use it. >- RTC_CHECK_EQ(context->lowres, 0); >+ // RTC_CHECK_EQ(context->lowres, 0); > // Adjust the |width| and |height| to values acceptable by the decoder. > // Without this, FFmpeg may overflow the buffer. If modified, |width| and/or > // |height| are larger than the actual image and the image has to be cropped >@@ -201,6 +201,9 @@ > // |get_buffer2| is called with the context, there |opaque| can be used to get > // a pointer |this|. > av_context_->opaque = this; >+ >+ // Initializing |lowres| >+ av_context_->lowres = 0; > > AVCodec* codec = avcodec_find_decoder(av_context_->codec_id); > if (!codec) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 255687
: 224958