Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Issue 683573002: ffmpeg reset bitstream converters on Seek (Closed)

Created:
6 years, 1 month ago by kjoswiak
Modified:
6 years, 1 month ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

ffmpeg reset bitstream converters on Seek We should not assume that the underlying decoders keep their state after a Seek. So for example, the SPS/PPS should be added again. BUG=140371 Committed: https://crrev.com/562c4aca3eb509c8c9913a80ef3e156b2a8f3a41 Cr-Commit-Position: refs/heads/master@{#302154}

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 10

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -0 lines) Patch
M media/filters/ffmpeg_demuxer.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 1 2 3 4 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (7 generated)
kjoswiak
From Chromecast repo, fix for http://crbug.com/140371
6 years, 1 month ago (2014-10-27 20:24:09 UTC) #3
DaleCurtis
looks good, but +xhwang in case he has any feelings about the location. Do you ...
6 years, 1 month ago (2014-10-27 20:36:02 UTC) #5
kjoswiak
On 2014/10/27 20:36:02, DaleCurtis wrote: > looks good, but +xhwang in case he has any ...
6 years, 1 month ago (2014-10-27 20:42:08 UTC) #8
kjoswiak
https://codereview.chromium.org/683573002/diff/1/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): https://codereview.chromium.org/683573002/diff/1/media/filters/ffmpeg_demuxer.cc#newcode438 media/filters/ffmpeg_demuxer.cc:438: // If a bitstream converter exists, reset it. On ...
6 years, 1 month ago (2014-10-27 20:47:32 UTC) #10
xhwang
https://codereview.chromium.org/683573002/diff/1/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): https://codereview.chromium.org/683573002/diff/1/media/filters/ffmpeg_demuxer.cc#newcode445 media/filters/ffmpeg_demuxer.cc:445: if (bitstream_converter_ != NULL) { How about do the ...
6 years, 1 month ago (2014-10-27 20:59:21 UTC) #11
kjoswiak
https://codereview.chromium.org/683573002/diff/1/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): https://codereview.chromium.org/683573002/diff/1/media/filters/ffmpeg_demuxer.cc#newcode445 media/filters/ffmpeg_demuxer.cc:445: if (bitstream_converter_ != NULL) { On 2014/10/27 20:59:21, xhwang ...
6 years, 1 month ago (2014-10-27 21:34:17 UTC) #12
kjoswiak
https://codereview.chromium.org/683573002/diff/1/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): https://codereview.chromium.org/683573002/diff/1/media/filters/ffmpeg_demuxer.cc#newcode445 media/filters/ffmpeg_demuxer.cc:445: if (bitstream_converter_ != NULL) { On 2014/10/27 21:34:17, kjoswiak ...
6 years, 1 month ago (2014-10-27 21:56:41 UTC) #13
kjoswiak
https://codereview.chromium.org/683573002/diff/1/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): https://codereview.chromium.org/683573002/diff/1/media/filters/ffmpeg_demuxer.cc#newcode445 media/filters/ffmpeg_demuxer.cc:445: if (bitstream_converter_ != NULL) { On 2014/10/27 21:56:41, kjoswiak ...
6 years, 1 month ago (2014-10-27 23:49:59 UTC) #14
kjoswiak
So is CL fine, or should I aim to restructure some things? I also have ...
6 years, 1 month ago (2014-10-29 20:24:27 UTC) #15
xhwang
Sorry for the delay. Let's land this CL then see how we can reconstruct things. ...
6 years, 1 month ago (2014-10-30 03:36:20 UTC) #16
kjoswiak
https://codereview.chromium.org/683573002/diff/60001/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): https://codereview.chromium.org/683573002/diff/60001/media/filters/ffmpeg_demuxer.cc#newcode438 media/filters/ffmpeg_demuxer.cc:438: // If a bitstream converter exists, reset it. On ...
6 years, 1 month ago (2014-10-30 17:43:06 UTC) #17
kjoswiak
https://codereview.chromium.org/683573002/diff/60001/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): https://codereview.chromium.org/683573002/diff/60001/media/filters/ffmpeg_demuxer.cc#newcode615 media/filters/ffmpeg_demuxer.cc:615: video->ResetBitstreamConverter(); On 2014/10/30 03:36:20, xhwang wrote: > Instead of ...
6 years, 1 month ago (2014-10-30 17:44:33 UTC) #18
xhwang
Thanks! LGTM
6 years, 1 month ago (2014-10-30 17:50:07 UTC) #19
kjoswiak
On 2014/10/30 17:50:07, xhwang wrote: > Thanks! LGTM Alright, anyone else have any comments before ...
6 years, 1 month ago (2014-10-30 18:19:07 UTC) #20
DaleCurtis
lgtm
6 years, 1 month ago (2014-10-30 18:23:59 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/683573002/80001
6 years, 1 month ago (2014-10-30 19:48:52 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years, 1 month ago (2014-10-30 21:09:50 UTC) #24
commit-bot: I haz the power
6 years, 1 month ago (2014-10-30 21:10:32 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/562c4aca3eb509c8c9913a80ef3e156b2a8f3a41
Cr-Commit-Position: refs/heads/master@{#302154}

Powered by Google App Engine
This is Rietveld 408576698