summaryrefslogtreecommitdiffstats
path: root/dec_video.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-09 15:39:12 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-09 15:39:12 +0000
commit66830dadb67ff8c9e3115f06a72164eacf23eb16 (patch)
treed8c8e238b9199794dd87f589ce8ea479724c4d08 /dec_video.c
parent6a99fe6a211d464e4518b84510e9371f62002fb1 (diff)
downloadmpv-66830dadb67ff8c9e3115f06a72164eacf23eb16.tar.bz2
mpv-66830dadb67ff8c9e3115f06a72164eacf23eb16.tar.xz
vfm_raw hack: set outfmt if format != 0x0 (for tv input)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3398 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dec_video.c')
-rw-r--r--dec_video.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dec_video.c b/dec_video.c
index b74fc77afd..bc61177747 100644
--- a/dec_video.c
+++ b/dec_video.c
@@ -535,6 +535,9 @@ switch(sh_video->codec->driver){
break;
}
case VFM_RAW: {
+ if (sh_video->format != 0x0)
+ /* set out_fmt */
+ sh_video->codec->outfmt[sh_video->outfmtidx] = sh_video->format;
break;
}
case VFM_RLE: {