Closed Bug 1057911 Opened 11 years ago Closed 11 years ago

libav/ffmpeg not draining

Categories

(Core :: Audio/Video, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: ajones, Assigned: jya)

References

()

Details

Attachments

(1 file, 2 obsolete files)

Steps to reproduce: 1. Enable ffmpeg/libav backend 2. Navigate to given URL Expected results: Video should run through to 6.00 seconds Actual results: Video runs through to 5.18 seconds
Attached patch Fix libav/ffmpeg drain (obsolete) — Splinter Review
Attachment #8478054 - Flags: review?(jyavenard)
Summary: libav/ffmpeg not flushing → libav/ffmpeg not draining
Comment on attachment 8478054 [details] [diff] [review] Fix libav/ffmpeg drain Review of attachment 8478054 [details] [diff] [review]: ----------------------------------------------------------------- The code isn't strictly equivalent to what was done before (how mCallback->InputExhausted(); was called) ::: content/media/fmp4/ffmpeg/FFmpegH264Decoder.cpp @@ +129,1 @@ > For equivalence with the earlier code, DoDecodeFrame return value should be tested and abort early if needed. If so, however we need to distinguish between an error and avcodec_decode_video2 not returning a frame. Both conditions would return false but the later isn't an error
Attachment #8478054 - Flags: review?(jyavenard)
Attached patch Fix libav/ffmpeg drain (obsolete) — Splinter Review
Attachment #8478801 - Flags: review?(jyavenard)
Attachment #8478054 - Attachment is obsolete: true
Attachment #8478801 - Flags: review?(jyavenard) → review+
Update patch for latest tip
Attachment #8478801 - Attachment is obsolete: true
Assignee: ajones → jyavenard
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: