Commit b9ece15a authored by Luca Barbato's avatar Luca Barbato

nullenc: Use the wrapped avframe pseudo-encoder

parent d00a8fd4
...@@ -30,7 +30,7 @@ AVOutputFormat ff_null_muxer = { ...@@ -30,7 +30,7 @@ AVOutputFormat ff_null_muxer = {
.name = "null", .name = "null",
.long_name = NULL_IF_CONFIG_SMALL("raw null video"), .long_name = NULL_IF_CONFIG_SMALL("raw null video"),
.audio_codec = AV_NE(AV_CODEC_ID_PCM_S16BE, AV_CODEC_ID_PCM_S16LE), .audio_codec = AV_NE(AV_CODEC_ID_PCM_S16BE, AV_CODEC_ID_PCM_S16LE),
.video_codec = AV_CODEC_ID_RAWVIDEO, .video_codec = AV_CODEC_ID_WRAPPED_AVFRAME,
.write_packet = null_write_packet, .write_packet = null_write_packet,
.flags = AVFMT_NOFILE | AVFMT_NOTIMESTAMPS | AVFMT_RAWPICTURE, .flags = AVFMT_NOFILE | AVFMT_NOTIMESTAMPS,
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment