From 94a3af4c98f89f8045b764f02820ec023cc03f43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20T=C3=B6rnblom?= Date: Sun, 17 Mar 2013 08:44:39 +0100 Subject: [PATCH] libav: added missing marker function --- src/muxer/muxer_libav.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/muxer/muxer_libav.c b/src/muxer/muxer_libav.c index e5b1d746..451bb63f 100644 --- a/src/muxer/muxer_libav.c +++ b/src/muxer/muxer_libav.c @@ -420,6 +420,16 @@ lav_muxer_write_meta(muxer_t *m, struct epg_broadcast *eb) } +/** + * NOP + */ +static int +lav_muxer_add_marker(muxer_t* m) +{ + return 0; +} + + /** * Close the muxer and append trailer to output */ @@ -498,6 +508,7 @@ lav_muxer_create(muxer_container_type_t mc) lm->m_init = lav_muxer_init; lm->m_reconfigure = lav_muxer_reconfigure; lm->m_mime = lav_muxer_mime; + lm->m_add_marker = lav_muxer_add_marker; lm->m_write_meta = lav_muxer_write_meta; lm->m_write_pkt = lav_muxer_write_pkt; lm->m_close = lav_muxer_close;