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

Issue 230173002: Fix WebM parser not to wait for a next frame when DefaultDuration is specified. (Closed)

Created:
6 years, 8 months ago by Sergey Ulanov
Modified:
6 years, 8 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Fix WebM parser not to wait for a next frame when DefaultDuration is specified. Per Matroska spec difference between frames timestamps must be used as block duration when neither Duration nor DefaultDuration is specified. Problem was that WebMClusterParser was waiting for the next frame even when DefaultDuration is specified. BUG=338529 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263097

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -21 lines) Patch
M media/formats/webm/webm_cluster_parser.h View 1 2 4 chunks +13 lines, -9 lines 0 comments Download
M media/formats/webm/webm_cluster_parser.cc View 1 2 5 chunks +11 lines, -12 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Sergey Ulanov
6 years, 8 months ago (2014-04-09 04:30:41 UTC) #1
wolenetz
lgtm % nits. Thank you for catching (and fixing) my mistake :) ! My apologies ...
6 years, 8 months ago (2014-04-09 21:53:47 UTC) #2
Sergey Ulanov
+scherkus for OWNERS approval https://codereview.chromium.org/230173002/diff/20001/media/formats/webm/webm_cluster_parser.cc File media/formats/webm/webm_cluster_parser.cc (right): https://codereview.chromium.org/230173002/diff/20001/media/formats/webm/webm_cluster_parser.cc#newcode411 media/formats/webm/webm_cluster_parser.cc:411: buffer->set_duration(track->default_duration()); On 2014/04/09 21:53:47, wolenetz ...
6 years, 8 months ago (2014-04-10 02:00:49 UTC) #3
scherkus (not reviewing)
we have media/formats/webm/webm_cluster_parser_unittest.cc -- should we consider adding a test?
6 years, 8 months ago (2014-04-10 18:19:02 UTC) #4
Sergey Ulanov
On 2014/04/10 18:19:02, scherkus wrote: > we have media/formats/webm/webm_cluster_parser_unittest.cc -- should we consider > adding ...
6 years, 8 months ago (2014-04-10 19:33:24 UTC) #5
scherkus (not reviewing)
lgtm
6 years, 8 months ago (2014-04-10 19:38:20 UTC) #6
Sergey Ulanov
The CQ bit was checked by sergeyu@chromium.org
6 years, 8 months ago (2014-04-10 19:42:01 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/230173002/40001
6 years, 8 months ago (2014-04-10 19:42:10 UTC) #8
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 21:53:05 UTC) #9
Message was sent while issue was closed.
Change committed as 263097

Powered by Google App Engine
This is Rietveld 408576698