changeset 2884:d69598d847e0

fourcc mapping fixed
author arpi
date Tue, 13 Nov 2001 22:58:14 +0000
parents 675a93e97305
children 7459ddb8b539
files mencoder.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Tue Nov 13 21:51:33 2001 +0000
+++ b/mencoder.c	Tue Nov 13 22:58:14 2001 +0000
@@ -315,6 +315,8 @@
   
 
 sh_video->codec=NULL;
+if(out_video_codec){
+
 if(video_family!=-1) mp_msg(MSGT_MENCODER,MSGL_INFO,MSGTR_TryForceVideoFmt,video_family);
 while(1){
   sh_video->codec=find_codec(sh_video->format,
@@ -364,6 +366,7 @@
      exit(1);
 }
 
+} // if(out_video_codec)
 
 if(sh_audio){
   // Go through the codec.conf and find the best codec...