From 9ed9318af7289c191035567477e7f12f5db4022e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 6 Feb 2006 15:41:25 +0000 Subject: gst/qtdemux/qtdemux.*: Some QT demux loving. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_src_query), (gst_qtdemux_handle_src_event), (gst_qtdemux_loop_header), (qtdemux_inflate), (qtdemux_parse), (qtdemux_parse_trak), (qtdemux_parse_udta), (qtdemux_tag_add_str), (qtdemux_tag_add_num), (qtdemux_tag_add_gnre), (gst_qtdemux_handle_esds), (qtdemux_video_caps), (qtdemux_audio_caps): * gst/qtdemux/qtdemux.h: Some QT demux loving. Handle seeking in a less broken way. Fix AMR caps to match the AMR decoder. Set first timestamp on AMR samples to 0 for now. Remove some \n in DEBUG strings. Use _scale_int for maximum precision. --- gst/qtdemux/qtdemux.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'gst/qtdemux/qtdemux.h') diff --git a/gst/qtdemux/qtdemux.h b/gst/qtdemux/qtdemux.h index ff09c843..21584f58 100644 --- a/gst/qtdemux/qtdemux.h +++ b/gst/qtdemux/qtdemux.h @@ -23,10 +23,7 @@ #include -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - +G_BEGIN_DECLS #define GST_TYPE_QTDEMUX \ (gst_qtdemux_get_type()) @@ -71,14 +68,14 @@ struct _GstQTDemux { /* track stuff */ guint64 last_ts; + + GstSegment segment; }; struct _GstQTDemuxClass { GstElementClass parent_class; }; -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __GST_QTDEMUX_H__ */ -- cgit v1.2.1