There is a problem setting the gstbuffer frag in the media packet.
[Version] 0.1.14
[Profile] Common(Mobile, Wearable, TV)
[Issue Type] Fix bugs (Migration, Add features, Refactoring, Script etc.)
Change-Id: Ifc2f85772614e3cf8010be84ef4eea078739eade
Name: capi-mediademuxer
Summary: A Media Demuxer library in Tizen Native API
-Version: 0.1.13
+Version: 0.1.14
Release: 1
Group: Multimedia/API
License: Apache-2.0
ret = MD_ERROR_UNKNOWN;
goto ERROR;
}
- if (media_packet_set_flags(out_pkt, GST_BUFFER_FLAGS(buffer))) {
- MD_E("unable to set the buffer size\n");
- ret = MD_ERROR_UNKNOWN;
- goto ERROR;
+ if (!GST_BUFFER_FLAG_IS_SET(buffer, GST_BUFFER_FLAG_DELTA_UNIT)) {
+ if (media_packet_set_flags(out_pkt, MEDIA_PACKET_SYNC_FRAME)) {
+ MD_E("unable to set the buffer flag\n");
+ ret = MD_ERROR_UNKNOWN;
+ goto ERROR;
+ }
}
/* set codec data into media packet */
if (codec_data) {