mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-02 10:13:51 +00:00
tsmux: Remove uneeded cast and cast macro
https://bugzilla.gnome.org/show_bug.cgi?id=740575
This commit is contained in:
parent
91cbaa5ac7
commit
8432116df2
2 changed files with 1 additions and 3 deletions
|
@ -1175,7 +1175,7 @@ mpegtsmux_collected_buffer (GstCollectPads * pads, GstCollectData * data,
|
||||||
/* Take the first data stream for the PCR */
|
/* Take the first data stream for the PCR */
|
||||||
GST_DEBUG_OBJECT (COLLECT_DATA_PAD (best),
|
GST_DEBUG_OBJECT (COLLECT_DATA_PAD (best),
|
||||||
"Use stream (pid=%d) from pad as PCR for program (prog_id = %d)",
|
"Use stream (pid=%d) from pad as PCR for program (prog_id = %d)",
|
||||||
MPEG_TS_PAD_DATA (best)->pid, MPEG_TS_PAD_DATA (best)->prog_id);
|
best->pid, best->prog_id);
|
||||||
|
|
||||||
/* Set the chosen PCR stream */
|
/* Set the chosen PCR stream */
|
||||||
tsmux_program_set_pcr_stream (prog, best->stream);
|
tsmux_program_set_pcr_stream (prog, best->stream);
|
||||||
|
|
|
@ -176,8 +176,6 @@ struct MpegTsMuxClass {
|
||||||
GstElementClass parent_class;
|
GstElementClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MPEG_TS_PAD_DATA(data) ((MpegTsPadData *)(data))
|
|
||||||
|
|
||||||
struct MpegTsPadData {
|
struct MpegTsPadData {
|
||||||
/* parent */
|
/* parent */
|
||||||
GstCollectData collect;
|
GstCollectData collect;
|
||||||
|
|
Loading…
Reference in a new issue