avconv: only set the "channels" option when it exists for the specified input format
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 16 Apr 2012 16:51:24 +0000 (12:51 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 17 Apr 2012 03:44:49 +0000 (23:44 -0400)
commitb1041f80489b3fe428ef586e6d631fda40bef80e
treea3286b69a171fd6b945fda9490a934e675a6db1d
parent6943fb47d3bd0bd46734cdd762ab2c4ee89b0a22
avconv: only set the "channels" option when it exists for the specified input format

This allows the user to specify an input channel layout without avconv aborting because the
"channels" option was not found.
avconv.c