mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-07 19:22:15 +00:00
qtdemux: Use GList to manage QtDemuxStream
* Move to GList from static array * Logging track-id instead of array index. It's more meaningful. https://bugzilla.gnome.org/show_bug.cgi?id=684790
This commit is contained in:
parent
aca8d32437
commit
b5245be1b1
2 changed files with 230 additions and 238 deletions
File diff suppressed because it is too large
Load diff
|
@ -45,8 +45,6 @@ G_BEGIN_DECLS
|
||||||
#define GST_QT_DEMUX_PRIVATE_TAG "private-qt-tag"
|
#define GST_QT_DEMUX_PRIVATE_TAG "private-qt-tag"
|
||||||
#define GST_QT_DEMUX_CLASSIFICATION_TAG "classification"
|
#define GST_QT_DEMUX_CLASSIFICATION_TAG "classification"
|
||||||
|
|
||||||
#define GST_QTDEMUX_MAX_STREAMS 32
|
|
||||||
|
|
||||||
typedef struct _GstQTDemux GstQTDemux;
|
typedef struct _GstQTDemux GstQTDemux;
|
||||||
typedef struct _GstQTDemuxClass GstQTDemuxClass;
|
typedef struct _GstQTDemuxClass GstQTDemuxClass;
|
||||||
typedef struct _QtDemuxStream QtDemuxStream;
|
typedef struct _QtDemuxStream QtDemuxStream;
|
||||||
|
@ -73,7 +71,9 @@ struct _GstQTDemux {
|
||||||
|
|
||||||
gboolean posted_redirect;
|
gboolean posted_redirect;
|
||||||
|
|
||||||
QtDemuxStream *streams[GST_QTDEMUX_MAX_STREAMS];
|
/* list of QtDemuxStream */
|
||||||
|
GList *active_streams;
|
||||||
|
|
||||||
gint n_streams;
|
gint n_streams;
|
||||||
gint n_video_streams;
|
gint n_video_streams;
|
||||||
gint n_audio_streams;
|
gint n_audio_streams;
|
||||||
|
|
Loading…
Reference in a new issue