not need codec_data when set caps as byte-stream format 42/115542/1
authorjuan82.liu <juan82.liu@samsung.com>
Mon, 20 Feb 2017 01:05:22 +0000 (09:05 +0800)
committerjuan82.liu <juan82.liu@samsung.com>
Mon, 20 Feb 2017 01:05:22 +0000 (09:05 +0800)
    [Version] 0.1.16
    [Profile] Common, Mobile, Wearable, TV
    [Issue Type] Fix bugs

Change-Id: Ifb74bca33e89da826a94a769794636274848f8b1

packaging/capi-mediademuxer.spec
src/port_gst/mediademuxer_port_gst.c

index c29c5c1..4265b1d 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-mediademuxer
 Summary:    A Media Demuxer library in Tizen Native API
-Version:    0.1.15
+Version:    0.1.16
 Release:    1
 Group:      Multimedia/API
 License:    Apache-2.0
index 1cef964..54cc18a 100755 (executable)
@@ -517,6 +517,7 @@ int __gst_add_track_info(GstPad *pad, GstCaps *caps, track **head,
                                outcaps = gst_caps_new_simple("video/x-h264", "stream-format", G_TYPE_STRING, "byte-stream", NULL);
                                gst_element_link_filtered(parse_element, temp->appsink, outcaps);
                                gst_caps_unref(outcaps);
+                               temp->need_codec_data = FALSE;
                        } else if (strstr(temp->caps_string, "mpeg")) {
                                gst_element_link(parse_element, temp->appsink);
                        } else {