summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-02-21 23:18:31 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-02-21 23:18:31 +0000
commitaa566ac6de7d9a9172a2f55d3c5287424c589a87 (patch)
treef889cc2d668cf353596246a20293fbc815f81f9c /mencoder.c
parent19c3ba158e5ace0d5cd59805a8ca118d175412a5 (diff)
downloadmpv-aa566ac6de7d9a9172a2f55d3c5287424c589a87.tar.bz2
mpv-aa566ac6de7d9a9172a2f55d3c5287424c589a87.tar.xz
initial, extremely experimental, libavformat muxer; don't expect anything to work yet
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14758 b3059339-0415-0410-9bf9-f77b7e298cf2
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)