mpegts: don't shadow res variable

Fixes unused-but-set warning:

../gst/mpegtsmux/gstbasetsmux.c:2115:43: error: variable 'res' set but not used [-Werror,-Wunused-but-set-variable]
      gboolean all_headers, done = FALSE, res = FALSE;
                                          ^

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2046>
This commit is contained in:
Matthew Waters 2022-03-28 18:23:20 +11:00 committed by GStreamer Marge Bot
parent 6c49f8d308
commit 6f95f7263f

View file

@ -2112,7 +2112,7 @@ gst_base_ts_mux_src_event (GstAggregator * agg, GstEvent * event)
GstIterator *iter; GstIterator *iter;
GValue sinkpad_value = G_VALUE_INIT; GValue sinkpad_value = G_VALUE_INIT;
GstClockTime running_time; GstClockTime running_time;
gboolean all_headers, done = FALSE, res = FALSE; gboolean all_headers, done = FALSE;
guint count; guint count;
if (!gst_video_event_is_force_key_unit (event)) if (!gst_video_event_is_force_key_unit (event))