h264parser: maintain minimal ABI compat
authorTim-Philipp Müller <tim@centricular.com>
Sat, 28 May 2016 09:44:04 +0000 (10:44 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 28 May 2016 09:54:13 +0000 (10:54 +0100)
Because we can.

https://bugzilla.gnome.org/show_bug.cgi?id=723352

gst-libs/gst/codecparsers/gsth264parser.c
gst-libs/gst/codecparsers/gsth264parser.h

index 9d6bd85..4a9b23b 100644 (file)
@@ -1630,6 +1630,9 @@ gst_h264_parse_sps_data (NalReader * nr, GstH264SPS * sps,
         sps->crop_rect_y, width, height);
   }
 
+  sps->fps_num_removed = 0;
+  sps->fps_den_removed = 1;
+
   return TRUE;
 
 error:
index 06ea2f7..4e6f6dd 100644 (file)
@@ -710,6 +710,7 @@ struct _GstH264SPS
   gint width, height;
   gint crop_rect_width, crop_rect_height;
   gint crop_rect_x, crop_rect_y;
+  gint fps_num_removed, fps_den_removed; /* FIXME: remove */
   gboolean valid;
 
   /* Subset SPS extensions */