Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
muxer: fix the meta write errors, fixes #2557
  • Loading branch information
perexg committed Dec 16, 2014
1 parent cfa7cd0 commit b2a39e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/input/mpegts/linuxdvb/linuxdvb_adapter.c
Expand Up @@ -164,6 +164,7 @@ linuxdvb_adapter_create
static dvb_fe_type_t
linux_dvb_get_type(int linux_type)
{
return DVB_TYPE_S;
switch (linux_type) {

This comment has been minimized.

Copy link
@Sorien

Sorien Dec 16, 2014

not necessary, or typo in commit?

This comment has been minimized.

Copy link
@perexg

perexg Dec 16, 2014

Author Contributor

Thanks. It's code from testing. I replaced this commit with 34be158 .

case FE_QPSK:
return DVB_TYPE_S;
Expand Down
2 changes: 1 addition & 1 deletion src/muxer.h
Expand Up @@ -129,7 +129,7 @@ static inline int muxer_destroy (muxer_t *m)
{ if (m) { m->m_destroy(m); return 0; } return -1; }

static inline int muxer_write_meta (muxer_t *m, struct epg_broadcast *eb, const char *comment)
{ if (m && eb) return m->m_write_meta(m, eb, comment); return -1; }
{ if (m) return m->m_write_meta(m, eb, comment); return -1; }

static inline int muxer_write_pkt (muxer_t *m, streaming_message_type_t smt, void *data)
{ if (m && data) return m->m_write_pkt(m, smt, data); return -1; }
Expand Down

0 comments on commit b2a39e3

Please sign in to comment.