bmdtools icon indicating copy to clipboard operation
bmdtools copied to clipboard

Handle pipe error or disk full/error in bmdcapture push_packet()

Open vincib opened this issue 8 years ago • 1 comments

In push_packet functions, the return code of av_interleaved_write_frame is ignored.

We don't know if the outfile is in a disk error, disk full, or pipe issue state. it seems you planned to do that by defining "ret" as an integer ;) This patch handle this case.

vincib avatar Jan 05 '17 13:01 vincib

Sounds a good idea to check it indeed!

I'll push it with some rewording on the commit message.

In theory all the exit causes should have a proper value...

lu-zero avatar Mar 20 '17 10:03 lu-zero