qtdemux: fix crash when qtdemux dispose (free spherical_metadata)
[platform/upstream/gst-plugins-good.git] / gst / isomp4 / qtdemux.h
old mode 100644 (file)
new mode 100755 (executable)
index 8f0553b..e5b3881
@@ -53,6 +53,9 @@ GST_DEBUG_CATEGORY_EXTERN (qtdemux_debug);
 typedef struct _GstQTDemux GstQTDemux;
 typedef struct _GstQTDemuxClass GstQTDemuxClass;
 typedef struct _QtDemuxStream QtDemuxStream;
+#ifdef TIZEN_FEATURE_QTDEMUX_MODIFICATION
+typedef struct _QtDemuxSphericalMetadata QtDemuxSphericalMetadata;
+#endif
 
 struct _GstQTDemux {
   GstElement element;
@@ -143,12 +146,15 @@ struct _GstQTDemux {
                       * requiring qtdemux to expose and create the streams */
   guint64 fragment_start;
   guint64 fragment_start_offset;
-    
+
   gint64 chapters_track_id;
 
   /* protection support */
   GPtrArray *protection_system_ids; /* Holds identifiers of all content protection systems for all tracks */
   GQueue protection_event_queue; /* holds copy of upstream protection events */
+#ifdef TIZEN_FEATURE_QTDEMUX_MODIFICATION
+  QtDemuxSphericalMetadata *spherical_metadata;
+#endif
 };
 
 struct _GstQTDemuxClass {