matroska: refactor code common to matroskademux and matroskaparse
authorDebarshi Ray <rishi@gnu.org>
Mon, 23 May 2011 15:06:44 +0000 (18:06 +0300)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 23 May 2011 15:21:52 +0000 (17:21 +0200)
commit15ce1142ca8bb70931eb2bd2eddd2f17142acb2b
treef3ef2b1c479c17290435ca3714be064954da493a
parenta53540346a18d27b94f5254ac2582cb844e9bde0
matroska: refactor code common to matroskademux and matroskaparse

Replace the following functions with their gst_matroska_read_common_*
counterparts:
    - gst_matroska_{demux,parse}_parse_index
    - gst_matroska_{demux,parse}_parse_skip
    - gst_matroska_{demux,parse}_stream_from_num

Introduce GstMatroskaReadCommon to contain those members of
GstMatroskaDemux and GstMatroskaParse that were used by the above
functions.

https://bugzilla.gnome.org/show_bug.cgi?id=650877
gst/matroska/Makefile.am
gst/matroska/matroska-demux.c
gst/matroska/matroska-demux.h
gst/matroska/matroska-parse.c
gst/matroska/matroska-parse.h
gst/matroska/matroska-read-common.c [new file with mode: 0644]
gst/matroska/matroska-read-common.h [new file with mode: 0644]