Closed (fixed)
Project:
Video
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2007 at 16:45 UTC
Updated:
8 Aug 2009 at 02:50 UTC
Jump to comment: Most recent file
When converting to FLV, video_render.php only tests that the FLV file exists after running ffmpeg. However, if ffmpeg happens to segfault, it may have left a zero-byte output file.
This is a simple patch to check that the output file is of non-zero size, in addition to checking that it exists.
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | video_render.php__1.patch | 652 bytes | stmind |
| #1 | video_render.php__0.patch | 471 bytes | stmind |
| video_render.php_.patch | 473 bytes | stmind |
Comments
Comment #1
stmind commentedWRONG PATCH
I attached the wrong patch. Please use this one.
Comment #2
stmind commentedIn further testing, I found another bug in video_render.php (line 94). There is a transposed closing paren in the watchdog call.
I'm attaching a revised patch that fixes both issues.
Comment #3
hypertext200ported