changeset 3397:39abf443aac4

vfm_raw hack: set outfmt if format != 0x0 (for tv input)
author alex
date Sun, 09 Dec 2001 15:39:12 +0000
parents 098634f41331
children a73b02e35e70
files dec_video.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dec_video.c	Sun Dec 09 15:30:03 2001 +0000
+++ b/dec_video.c	Sun Dec 09 15:39:12 2001 +0000
@@ -535,6 +535,9 @@
    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: {