[MPlayer-cvslog] r36440 - trunk/libmpdemux/muxer_lavf.c
reimar
subversion at mplayerhq.hu
Tue Sep 3 22:05:29 CEST 2013
Author: reimar
Date: Tue Sep 3 22:05:29 2013
New Revision: 36440
Log:
muxer_lavf: partially support formats creating files own their own.
This works with e.g. image2, but is a bit messy since
using img%d.png results in mencoder itself creating
a file with exactly this name while lavf creates the
correctly numbered ones.
Modified:
trunk/libmpdemux/muxer_lavf.c
Modified: trunk/libmpdemux/muxer_lavf.c
==============================================================================
--- trunk/libmpdemux/muxer_lavf.c Tue Sep 3 22:05:28 2013 (r36439)
+++ trunk/libmpdemux/muxer_lavf.c Tue Sep 3 22:05:29 2013 (r36440)
@@ -364,6 +364,8 @@ int muxer_init_muxer_lavf(muxer_t *muxer
mp_msg(MSGT_MUXER, MSGL_FATAL, "Cannot get specified format.\n");
goto fail;
}
+ if (fmt->flags & AVFMT_NOFILE)
+ av_strlcpy(priv->oc->filename, out_filename, sizeof(priv->oc->filename));
priv->oc->oformat = fmt;
More information about the MPlayer-cvslog
mailing list