mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08:00
change ve_raw.c:set_format to not overwrite biCompression if force_fourcc is set.
fixes -ovc raw -ffourcc patch by "Andrew Wason" rectalogic !@! rectalogic !.! com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27398 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -27,6 +27,7 @@ struct vf_priv_s {
|
||||
#define mux_v (vf->priv->mux)
|
||||
|
||||
static int set_format(struct vf_instance_s *vf, unsigned int fmt) {
|
||||
if (!force_fourcc)
|
||||
mux_v->bih->biCompression = fmt;
|
||||
|
||||
mux_v->bih->biPlanes = 1;
|
||||
|
||||
Reference in New Issue
Block a user