From 5e8cab71ea67f583a2a6628b367033c20b48028a Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Fri, 14 Dec 2018 15:51:51 -0500 Subject: [PATCH] rtph26xpay: Remove unused IS_ACCESS_UNIT macro This macro is not longer used. It was secretly checking if that nal was a slice, and confusingly name to that one may think it was checking if the nal is an AUD. --- gst/rtp/gstrtph264pay.c | 2 -- gst/rtp/gstrtph265pay.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/gst/rtp/gstrtph264pay.c b/gst/rtp/gstrtph264pay.c index 81a94f7..260cbf6 100644 --- a/gst/rtp/gstrtph264pay.c +++ b/gst/rtp/gstrtph264pay.c @@ -77,8 +77,6 @@ enum PROP_CONFIG_INTERVAL }; -#define IS_ACCESS_UNIT(x) (((x) > 0x00) && ((x) < 0x06)) - static void gst_rtp_h264_pay_finalize (GObject * object); static void gst_rtp_h264_pay_set_property (GObject * object, guint prop_id, diff --git a/gst/rtp/gstrtph265pay.c b/gst/rtp/gstrtph265pay.c index 0cf94ee..4622c04 100644 --- a/gst/rtp/gstrtph265pay.c +++ b/gst/rtp/gstrtph265pay.c @@ -109,8 +109,6 @@ enum PROP_CONFIG_INTERVAL }; -#define IS_ACCESS_UNIT(x) (((x) >= 0x00) && ((x) < 0x20)) - static void gst_rtp_h265_pay_finalize (GObject * object); static void gst_rtp_h265_pay_set_property (GObject * object, guint prop_id, -- 2.7.4