summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mencoder.c b/mencoder.c
index 0c1079d8c5..ba2d180cd6 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -746,6 +746,8 @@ if ((force_fourcc != NULL) && (strlen(force_fourcc) >= 4))
mux_v->bih->biCompression, (char *)&mux_v->bih->biCompression);
}
+if(muxer->fix_stream_parameters)
+ muxer_stream_fix_parameters(muxer,mux_v);
//if(demuxer->file_format!=DEMUXER_TYPE_AVI) pts_from_bps=0; // it must be 0 for mpeg/asf!
// ============= AUDIO ===============
@@ -1062,6 +1064,8 @@ if(audio_delay!=0.0){
mux_a->h.dwStart=audio_delay*mux_a->h.dwRate/mux_a->h.dwScale;
mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_SettingAudioDelay,mux_a->h.dwStart*mux_a->h.dwScale/(float)mux_a->h.dwRate);
}
+if(muxer->fix_stream_parameters)
+ muxer_stream_fix_parameters(muxer,mux_a);
} // if(sh_audio)