hlsdemux: use correct variable type
authorThiago Santos <thiagoss@osg.samsung.com>
Wed, 22 Apr 2015 22:04:43 +0000 (19:04 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Wed, 22 Apr 2015 22:04:43 +0000 (19:04 -0300)
gst_buffer_resize needs gssize and not gsize. This makes gdb
print it correctly when debugging.

ext/hls/gsthlsdemux.c

index ab4df35..1b2655e 100644 (file)
@@ -563,7 +563,7 @@ gst_hls_demux_finish_fragment (GstAdaptiveDemux * demux,
   if (stream->last_ret == GST_FLOW_OK) {
     if (hlsdemux->pending_buffer) {
       GstMapInfo info;
-      gsize unpadded_size;
+      gssize unpadded_size;
 
       /* Handle pkcs7 unpadding here */
       gst_buffer_map (hlsdemux->pending_buffer, &info, GST_MAP_READ);