Commit b2876ad8 authored by Seungha Yang's avatar Seungha Yang Committed by Edward Hervey

qtdemux: Use GPtrArray to store QtDemuxStream structure

GPtrArray has less overhead than linked list and the length also
can be auto updated by using it.

https://bugzilla.gnome.org/show_bug.cgi?id=797239
parent 16003231
This diff is collapsed.
......@@ -75,10 +75,9 @@ struct _GstQTDemux {
GMutex expose_lock;
/* list of QtDemuxStream */
GList *active_streams;
GList *old_streams;
GPtrArray *active_streams;
GPtrArray *old_streams;
gint n_streams;
gint n_video_streams;
gint n_audio_streams;
gint n_sub_streams;
......
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