mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
mpegtsdemux: GstMpegTS => GstMpegTs
This commit is contained in:
parent
c1366efcd6
commit
1f2bb15618
6 changed files with 41 additions and 41 deletions
|
@ -81,7 +81,7 @@ static gboolean mpegts_base_sink_event (GstPad * pad, GstObject * parent,
|
||||||
static GstStateChangeReturn mpegts_base_change_state (GstElement * element,
|
static GstStateChangeReturn mpegts_base_change_state (GstElement * element,
|
||||||
GstStateChange transition);
|
GstStateChange transition);
|
||||||
static gboolean mpegts_base_get_tags_from_eit (MpegTSBase * base,
|
static gboolean mpegts_base_get_tags_from_eit (MpegTSBase * base,
|
||||||
GstMpegTSSection * section);
|
GstMpegTsSection * section);
|
||||||
static gboolean remove_each_program (gpointer key, MpegTSBaseProgram * program,
|
static gboolean remove_each_program (gpointer key, MpegTSBaseProgram * program,
|
||||||
MpegTSBase * base);
|
MpegTSBase * base);
|
||||||
|
|
||||||
|
@ -228,12 +228,12 @@ mpegts_base_finalize (GObject * object)
|
||||||
/* returns NULL if no matching descriptor found *
|
/* returns NULL if no matching descriptor found *
|
||||||
* otherwise returns a descriptor that needs to *
|
* otherwise returns a descriptor that needs to *
|
||||||
* be freed */
|
* be freed */
|
||||||
/* FIXME : Return the GstMpegTSDescriptor */
|
/* FIXME : Return the GstMpegTsDescriptor */
|
||||||
const guint8 *
|
const guint8 *
|
||||||
mpegts_get_descriptor_from_stream (MpegTSBaseStream * stream, guint8 tag)
|
mpegts_get_descriptor_from_stream (MpegTSBaseStream * stream, guint8 tag)
|
||||||
{
|
{
|
||||||
const GstMpegTSDescriptor *desc;
|
const GstMpegTsDescriptor *desc;
|
||||||
GstMpegTSPMTStream *pmt = stream->stream;
|
GstMpegTsPMTStream *pmt = stream->stream;
|
||||||
|
|
||||||
GST_DEBUG ("Searching for tag 0x%02x in stream 0x%04x (stream_type 0x%02x)",
|
GST_DEBUG ("Searching for tag 0x%02x in stream 0x%04x (stream_type 0x%02x)",
|
||||||
tag, stream->pid, stream->stream_type);
|
tag, stream->pid, stream->stream_type);
|
||||||
|
@ -276,12 +276,12 @@ mpegts_pid_in_active_programs (MpegTSBase * base, guint16 pid)
|
||||||
/* returns NULL if no matching descriptor found *
|
/* returns NULL if no matching descriptor found *
|
||||||
* otherwise returns a descriptor that needs to *
|
* otherwise returns a descriptor that needs to *
|
||||||
* be freed */
|
* be freed */
|
||||||
/* FIXME : Return the GstMpegTSDescriptor */
|
/* FIXME : Return the GstMpegTsDescriptor */
|
||||||
const guint8 *
|
const guint8 *
|
||||||
mpegts_get_descriptor_from_program (MpegTSBaseProgram * program, guint8 tag)
|
mpegts_get_descriptor_from_program (MpegTSBaseProgram * program, guint8 tag)
|
||||||
{
|
{
|
||||||
const GstMpegTSDescriptor *descriptor;
|
const GstMpegTsDescriptor *descriptor;
|
||||||
const GstMpegTSPMT *pmt = program->pmt;
|
const GstMpegTsPMT *pmt = program->pmt;
|
||||||
|
|
||||||
descriptor = gst_mpegts_find_descriptor (pmt->descriptors, tag);
|
descriptor = gst_mpegts_find_descriptor (pmt->descriptors, tag);
|
||||||
if (descriptor)
|
if (descriptor)
|
||||||
|
@ -393,7 +393,7 @@ mpegts_base_remove_program (MpegTSBase * base, gint program_number)
|
||||||
static MpegTSBaseStream *
|
static MpegTSBaseStream *
|
||||||
mpegts_base_program_add_stream (MpegTSBase * base,
|
mpegts_base_program_add_stream (MpegTSBase * base,
|
||||||
MpegTSBaseProgram * program, guint16 pid, guint8 stream_type,
|
MpegTSBaseProgram * program, guint16 pid, guint8 stream_type,
|
||||||
GstMpegTSPMTStream * stream)
|
GstMpegTsPMTStream * stream)
|
||||||
{
|
{
|
||||||
MpegTSBaseClass *klass = GST_MPEGTS_BASE_GET_CLASS (base);
|
MpegTSBaseClass *klass = GST_MPEGTS_BASE_GET_CLASS (base);
|
||||||
MpegTSBaseStream *bstream;
|
MpegTSBaseStream *bstream;
|
||||||
|
@ -449,7 +449,7 @@ mpegts_base_program_remove_stream (MpegTSBase * base,
|
||||||
/* Return TRUE if programs are equal */
|
/* Return TRUE if programs are equal */
|
||||||
static gboolean
|
static gboolean
|
||||||
mpegts_base_is_same_program (MpegTSBase * base, MpegTSBaseProgram * oldprogram,
|
mpegts_base_is_same_program (MpegTSBase * base, MpegTSBaseProgram * oldprogram,
|
||||||
guint16 new_pmt_pid, const GstMpegTSPMT * new_pmt)
|
guint16 new_pmt_pid, const GstMpegTsPMT * new_pmt)
|
||||||
{
|
{
|
||||||
guint i, nbstreams;
|
guint i, nbstreams;
|
||||||
MpegTSBaseStream *oldstream;
|
MpegTSBaseStream *oldstream;
|
||||||
|
@ -470,7 +470,7 @@ mpegts_base_is_same_program (MpegTSBase * base, MpegTSBaseProgram * oldprogram,
|
||||||
/* Check the streams */
|
/* Check the streams */
|
||||||
nbstreams = new_pmt->streams->len;
|
nbstreams = new_pmt->streams->len;
|
||||||
for (i = 0; i < nbstreams; ++i) {
|
for (i = 0; i < nbstreams; ++i) {
|
||||||
GstMpegTSPMTStream *stream = g_ptr_array_index (new_pmt->streams, i);
|
GstMpegTsPMTStream *stream = g_ptr_array_index (new_pmt->streams, i);
|
||||||
|
|
||||||
oldstream = oldprogram->streams[stream->pid];
|
oldstream = oldprogram->streams[stream->pid];
|
||||||
if (!oldstream) {
|
if (!oldstream) {
|
||||||
|
@ -516,7 +516,7 @@ mpegts_base_deactivate_program (MpegTSBase * base, MpegTSBaseProgram * program)
|
||||||
|
|
||||||
if (program->pmt) {
|
if (program->pmt) {
|
||||||
for (i = 0; i < program->pmt->streams->len; ++i) {
|
for (i = 0; i < program->pmt->streams->len; ++i) {
|
||||||
GstMpegTSPMTStream *stream = g_ptr_array_index (program->pmt->streams, i);
|
GstMpegTsPMTStream *stream = g_ptr_array_index (program->pmt->streams, i);
|
||||||
|
|
||||||
mpegts_base_program_remove_stream (base, program, stream->pid);
|
mpegts_base_program_remove_stream (base, program, stream->pid);
|
||||||
|
|
||||||
|
@ -542,7 +542,7 @@ mpegts_base_deactivate_program (MpegTSBase * base, MpegTSBaseProgram * program)
|
||||||
|
|
||||||
static void
|
static void
|
||||||
mpegts_base_activate_program (MpegTSBase * base, MpegTSBaseProgram * program,
|
mpegts_base_activate_program (MpegTSBase * base, MpegTSBaseProgram * program,
|
||||||
guint16 pmt_pid, GstMpegTSSection * section, const GstMpegTSPMT * pmt,
|
guint16 pmt_pid, GstMpegTsSection * section, const GstMpegTsPMT * pmt,
|
||||||
gboolean initial_program)
|
gboolean initial_program)
|
||||||
{
|
{
|
||||||
guint i;
|
guint i;
|
||||||
|
@ -563,7 +563,7 @@ mpegts_base_activate_program (MpegTSBase * base, MpegTSBaseProgram * program,
|
||||||
program->pcr_pid = pmt->pcr_pid;
|
program->pcr_pid = pmt->pcr_pid;
|
||||||
|
|
||||||
for (i = 0; i < pmt->streams->len; ++i) {
|
for (i = 0; i < pmt->streams->len; ++i) {
|
||||||
GstMpegTSPMTStream *stream = g_ptr_array_index (pmt->streams, i);
|
GstMpegTsPMTStream *stream = g_ptr_array_index (pmt->streams, i);
|
||||||
|
|
||||||
if (G_UNLIKELY (MPEGTS_BIT_IS_SET (base->is_pes, stream->pid)))
|
if (G_UNLIKELY (MPEGTS_BIT_IS_SET (base->is_pes, stream->pid)))
|
||||||
GST_FIXME ("Refcounting issue. Setting twice a PID (0x%04x) as known PES",
|
GST_FIXME ("Refcounting issue. Setting twice a PID (0x%04x) as known PES",
|
||||||
|
@ -677,7 +677,7 @@ invalid_pid:
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
mpegts_base_apply_pat (MpegTSBase * base, GstMpegTSSection * section)
|
mpegts_base_apply_pat (MpegTSBase * base, GstMpegTsSection * section)
|
||||||
{
|
{
|
||||||
GArray *pat = gst_mpegts_section_get_pat (section);
|
GArray *pat = gst_mpegts_section_get_pat (section);
|
||||||
GArray *old_pat;
|
GArray *old_pat;
|
||||||
|
@ -703,7 +703,7 @@ mpegts_base_apply_pat (MpegTSBase * base, GstMpegTSSection * section)
|
||||||
GST_LOG ("Activating new Program Association Table");
|
GST_LOG ("Activating new Program Association Table");
|
||||||
/* activate the new table */
|
/* activate the new table */
|
||||||
for (i = 0; i < pat->len; ++i) {
|
for (i = 0; i < pat->len; ++i) {
|
||||||
GstMpegTSPatProgram *patp = &g_array_index (pat, GstMpegTSPatProgram, i);
|
GstMpegTsPatProgram *patp = &g_array_index (pat, GstMpegTsPatProgram, i);
|
||||||
|
|
||||||
program = mpegts_base_get_program (base, patp->program_number);
|
program = mpegts_base_get_program (base, patp->program_number);
|
||||||
if (program) {
|
if (program) {
|
||||||
|
@ -739,8 +739,8 @@ mpegts_base_apply_pat (MpegTSBase * base, GstMpegTSSection * section)
|
||||||
GST_LOG ("Deactivating old Program Association Table");
|
GST_LOG ("Deactivating old Program Association Table");
|
||||||
|
|
||||||
for (i = 0; i < old_pat->len; ++i) {
|
for (i = 0; i < old_pat->len; ++i) {
|
||||||
GstMpegTSPatProgram *patp =
|
GstMpegTsPatProgram *patp =
|
||||||
&g_array_index (old_pat, GstMpegTSPatProgram, i);
|
&g_array_index (old_pat, GstMpegTsPatProgram, i);
|
||||||
|
|
||||||
program = mpegts_base_get_program (base, patp->program_number);
|
program = mpegts_base_get_program (base, patp->program_number);
|
||||||
if (G_UNLIKELY (program == NULL)) {
|
if (G_UNLIKELY (program == NULL)) {
|
||||||
|
@ -779,9 +779,9 @@ mpegts_base_apply_pat (MpegTSBase * base, GstMpegTSSection * section)
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
mpegts_base_apply_pmt (MpegTSBase * base, GstMpegTSSection * section)
|
mpegts_base_apply_pmt (MpegTSBase * base, GstMpegTsSection * section)
|
||||||
{
|
{
|
||||||
const GstMpegTSPMT *pmt;
|
const GstMpegTsPMT *pmt;
|
||||||
MpegTSBaseProgram *program, *old_program;
|
MpegTSBaseProgram *program, *old_program;
|
||||||
guint program_number;
|
guint program_number;
|
||||||
gboolean initial_program = TRUE;
|
gboolean initial_program = TRUE;
|
||||||
|
@ -852,7 +852,7 @@ same_program:
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
mpegts_base_handle_psi (MpegTSBase * base, GstMpegTSSection * section)
|
mpegts_base_handle_psi (MpegTSBase * base, GstMpegTsSection * section)
|
||||||
{
|
{
|
||||||
gboolean post_message = TRUE;
|
gboolean post_message = TRUE;
|
||||||
|
|
||||||
|
@ -889,9 +889,9 @@ mpegts_base_handle_psi (MpegTSBase * base, GstMpegTSSection * section)
|
||||||
|
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
mpegts_base_get_tags_from_eit (MpegTSBase * base, GstMpegTSSection * section)
|
mpegts_base_get_tags_from_eit (MpegTSBase * base, GstMpegTsSection * section)
|
||||||
{
|
{
|
||||||
const GstMpegTSEIT *eit;
|
const GstMpegTsEIT *eit;
|
||||||
guint i;
|
guint i;
|
||||||
MpegTSBaseProgram *program;
|
MpegTSBaseProgram *program;
|
||||||
|
|
||||||
|
@ -914,8 +914,8 @@ mpegts_base_get_tags_from_eit (MpegTSBase * base, GstMpegTSSection * section)
|
||||||
|
|
||||||
if (program && eit->present_following) {
|
if (program && eit->present_following) {
|
||||||
for (i = 0; i < eit->events->len; i++) {
|
for (i = 0; i < eit->events->len; i++) {
|
||||||
GstMpegTSEITEvent *event = g_ptr_array_index (eit->events, i);
|
GstMpegTsEITEvent *event = g_ptr_array_index (eit->events, i);
|
||||||
const GstMpegTSDescriptor *desc;
|
const GstMpegTsDescriptor *desc;
|
||||||
|
|
||||||
if (event->running_status == RUNNING_STATUS_RUNNING) {
|
if (event->running_status == RUNNING_STATUS_RUNNING) {
|
||||||
program->event_id = event->event_id;
|
program->event_id = event->event_id;
|
||||||
|
@ -1073,7 +1073,7 @@ mpegts_base_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
|
||||||
|
|
||||||
/* base PSI data */
|
/* base PSI data */
|
||||||
if (packet.payload != NULL && mpegts_base_is_psi (base, &packet)) {
|
if (packet.payload != NULL && mpegts_base_is_psi (base, &packet)) {
|
||||||
GstMpegTSSection *section;
|
GstMpegTsSection *section;
|
||||||
|
|
||||||
section = mpegts_packetizer_push_section (packetizer, &packet);
|
section = mpegts_packetizer_push_section (packetizer, &packet);
|
||||||
if (section)
|
if (section)
|
||||||
|
|
|
@ -59,7 +59,7 @@ struct _MpegTSBaseStream
|
||||||
{
|
{
|
||||||
guint16 pid;
|
guint16 pid;
|
||||||
guint8 stream_type;
|
guint8 stream_type;
|
||||||
GstMpegTSPMTStream *stream;
|
GstMpegTsPMTStream *stream;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _MpegTSBaseProgram
|
struct _MpegTSBaseProgram
|
||||||
|
@ -67,8 +67,8 @@ struct _MpegTSBaseProgram
|
||||||
gint program_number;
|
gint program_number;
|
||||||
guint16 pmt_pid;
|
guint16 pmt_pid;
|
||||||
guint16 pcr_pid;
|
guint16 pcr_pid;
|
||||||
GstMpegTSSection *section;
|
GstMpegTsSection *section;
|
||||||
const GstMpegTSPMT *pmt;
|
const GstMpegTsPMT *pmt;
|
||||||
MpegTSBaseStream **streams;
|
MpegTSBaseStream **streams;
|
||||||
GList *stream_list;
|
GList *stream_list;
|
||||||
gint patcount;
|
gint patcount;
|
||||||
|
@ -146,7 +146,7 @@ struct _MpegTSBaseClass {
|
||||||
|
|
||||||
/* Virtual methods */
|
/* Virtual methods */
|
||||||
void (*reset) (MpegTSBase *base);
|
void (*reset) (MpegTSBase *base);
|
||||||
GstFlowReturn (*push) (MpegTSBase *base, MpegTSPacketizerPacket *packet, GstMpegTSSection * section);
|
GstFlowReturn (*push) (MpegTSBase *base, MpegTSPacketizerPacket *packet, GstMpegTsSection * section);
|
||||||
/* takes ownership of @event */
|
/* takes ownership of @event */
|
||||||
gboolean (*push_event) (MpegTSBase *base, GstEvent * event);
|
gboolean (*push_event) (MpegTSBase *base, GstEvent * event);
|
||||||
|
|
||||||
|
|
|
@ -482,12 +482,12 @@ mpegts_packetizer_parse_packet (MpegTSPacketizer2 * packetizer,
|
||||||
return PACKET_OK;
|
return PACKET_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstMpegTSSection *
|
static GstMpegTsSection *
|
||||||
mpegts_packetizer_parse_section_header (MpegTSPacketizer2 * packetizer,
|
mpegts_packetizer_parse_section_header (MpegTSPacketizer2 * packetizer,
|
||||||
MpegTSPacketizerStream * stream)
|
MpegTSPacketizerStream * stream)
|
||||||
{
|
{
|
||||||
MpegTSPacketizerStreamSubtable *subtable;
|
MpegTSPacketizerStreamSubtable *subtable;
|
||||||
GstMpegTSSection *res;
|
GstMpegTsSection *res;
|
||||||
|
|
||||||
subtable =
|
subtable =
|
||||||
find_subtable (stream->subtables, stream->table_id,
|
find_subtable (stream->subtables, stream->table_id,
|
||||||
|
@ -838,18 +838,18 @@ mpegts_packetizer_clear_packet (MpegTSPacketizer2 * packetizer,
|
||||||
* * The section applies now (current_next_indicator)
|
* * The section applies now (current_next_indicator)
|
||||||
* * The section is an update or was never seen
|
* * The section is an update or was never seen
|
||||||
*
|
*
|
||||||
* The section should be a new GstMpegTSSection:
|
* The section should be a new GstMpegTsSection:
|
||||||
* * properly initialized
|
* * properly initialized
|
||||||
* * With pid, table_id AND section_type set (move logic from mpegtsbase)
|
* * With pid, table_id AND section_type set (move logic from mpegtsbase)
|
||||||
* * With data copied into it (yes, minor overhead)
|
* * With data copied into it (yes, minor overhead)
|
||||||
*
|
*
|
||||||
* In all other cases it should just return NULL
|
* In all other cases it should just return NULL
|
||||||
* */
|
* */
|
||||||
GstMpegTSSection *
|
GstMpegTsSection *
|
||||||
mpegts_packetizer_push_section (MpegTSPacketizer2 * packetizer,
|
mpegts_packetizer_push_section (MpegTSPacketizer2 * packetizer,
|
||||||
MpegTSPacketizerPacket * packet)
|
MpegTSPacketizerPacket * packet)
|
||||||
{
|
{
|
||||||
GstMpegTSSection *res = NULL;
|
GstMpegTsSection *res = NULL;
|
||||||
MpegTSPacketizerStream *stream;
|
MpegTSPacketizerStream *stream;
|
||||||
gboolean long_packet;
|
gboolean long_packet;
|
||||||
guint8 pointer, table_id;
|
guint8 pointer, table_id;
|
||||||
|
|
|
@ -181,7 +181,7 @@ G_GNUC_INTERNAL void mpegts_packetizer_clear_packet (MpegTSPacketizer2 *packetiz
|
||||||
G_GNUC_INTERNAL void mpegts_packetizer_remove_stream(MpegTSPacketizer2 *packetizer,
|
G_GNUC_INTERNAL void mpegts_packetizer_remove_stream(MpegTSPacketizer2 *packetizer,
|
||||||
gint16 pid);
|
gint16 pid);
|
||||||
|
|
||||||
G_GNUC_INTERNAL GstMpegTSSection *mpegts_packetizer_push_section (MpegTSPacketizer2 *packetzer,
|
G_GNUC_INTERNAL GstMpegTsSection *mpegts_packetizer_push_section (MpegTSPacketizer2 *packetzer,
|
||||||
MpegTSPacketizerPacket *packet);
|
MpegTSPacketizerPacket *packet);
|
||||||
|
|
||||||
/* Only valid if calculate_offset is TRUE */
|
/* Only valid if calculate_offset is TRUE */
|
||||||
|
|
|
@ -91,7 +91,7 @@ mpegts_parse_program_stopped (MpegTSBase * base, MpegTSBaseProgram * program);
|
||||||
|
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
mpegts_parse_push (MpegTSBase * base, MpegTSPacketizerPacket * packet,
|
mpegts_parse_push (MpegTSBase * base, MpegTSPacketizerPacket * packet,
|
||||||
GstMpegTSSection * section);
|
GstMpegTsSection * section);
|
||||||
|
|
||||||
static MpegTSParsePad *mpegts_parse_create_tspad (MpegTSParse2 * parse,
|
static MpegTSParsePad *mpegts_parse_create_tspad (MpegTSParse2 * parse,
|
||||||
const gchar * name);
|
const gchar * name);
|
||||||
|
@ -342,7 +342,7 @@ mpegts_parse_release_pad (GstElement * element, GstPad * pad)
|
||||||
|
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
mpegts_parse_tspad_push_section (MpegTSParse2 * parse, MpegTSParsePad * tspad,
|
mpegts_parse_tspad_push_section (MpegTSParse2 * parse, MpegTSParsePad * tspad,
|
||||||
GstMpegTSSection * section, MpegTSPacketizerPacket * packet)
|
GstMpegTsSection * section, MpegTSPacketizerPacket * packet)
|
||||||
{
|
{
|
||||||
GstFlowReturn ret = GST_FLOW_OK;
|
GstFlowReturn ret = GST_FLOW_OK;
|
||||||
gboolean to_push = TRUE;
|
gboolean to_push = TRUE;
|
||||||
|
@ -420,7 +420,7 @@ pad_clear_for_push (GstPad * pad, MpegTSParse2 * parse)
|
||||||
|
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
mpegts_parse_push (MpegTSBase * base, MpegTSPacketizerPacket * packet,
|
mpegts_parse_push (MpegTSBase * base, MpegTSPacketizerPacket * packet,
|
||||||
GstMpegTSSection * section)
|
GstMpegTsSection * section)
|
||||||
{
|
{
|
||||||
MpegTSParse2 *parse = (MpegTSParse2 *) base;
|
MpegTSParse2 *parse = (MpegTSParse2 *) base;
|
||||||
guint32 pads_cookie;
|
guint32 pads_cookie;
|
||||||
|
|
|
@ -227,7 +227,7 @@ gst_ts_demux_program_stopped (MpegTSBase * base, MpegTSBaseProgram * program);
|
||||||
static void gst_ts_demux_reset (MpegTSBase * base);
|
static void gst_ts_demux_reset (MpegTSBase * base);
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
gst_ts_demux_push (MpegTSBase * base, MpegTSPacketizerPacket * packet,
|
gst_ts_demux_push (MpegTSBase * base, MpegTSPacketizerPacket * packet,
|
||||||
GstMpegTSSection * section);
|
GstMpegTsSection * section);
|
||||||
static void gst_ts_demux_flush (MpegTSBase * base, gboolean hard);
|
static void gst_ts_demux_flush (MpegTSBase * base, gboolean hard);
|
||||||
static void
|
static void
|
||||||
gst_ts_demux_stream_added (MpegTSBase * base, MpegTSBaseStream * stream,
|
gst_ts_demux_stream_added (MpegTSBase * base, MpegTSBaseStream * stream,
|
||||||
|
@ -1545,7 +1545,7 @@ beach:
|
||||||
|
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
gst_ts_demux_handle_packet (GstTSDemux * demux, TSDemuxStream * stream,
|
gst_ts_demux_handle_packet (GstTSDemux * demux, TSDemuxStream * stream,
|
||||||
MpegTSPacketizerPacket * packet, GstMpegTSSection * section)
|
MpegTSPacketizerPacket * packet, GstMpegTsSection * section)
|
||||||
{
|
{
|
||||||
GstFlowReturn res = GST_FLOW_OK;
|
GstFlowReturn res = GST_FLOW_OK;
|
||||||
|
|
||||||
|
@ -1598,7 +1598,7 @@ gst_ts_demux_flush (MpegTSBase * base, gboolean hard)
|
||||||
|
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
gst_ts_demux_push (MpegTSBase * base, MpegTSPacketizerPacket * packet,
|
gst_ts_demux_push (MpegTSBase * base, MpegTSPacketizerPacket * packet,
|
||||||
GstMpegTSSection * section)
|
GstMpegTsSection * section)
|
||||||
{
|
{
|
||||||
GstTSDemux *demux = GST_TS_DEMUX_CAST (base);
|
GstTSDemux *demux = GST_TS_DEMUX_CAST (base);
|
||||||
TSDemuxStream *stream = NULL;
|
TSDemuxStream *stream = NULL;
|
||||||
|
|
Loading…
Reference in a new issue