diff options
author | Marc-André Lureau <mlureau@flumotion.com> | 2010-02-03 13:31:22 +0100 |
---|---|---|
committer | Zaheer Abbas Merali <zaheerabbas@merali.org> | 2010-02-03 18:26:12 +0000 |
commit | 1537023905cf8f0192afa33c1ddfce2150ad8682 (patch) | |
tree | 3adce0c34b0e89b4fd4486d1ad89a32961e17366 /gst/mpegtsmux/tsmux | |
parent | 130cf8075295ce8871b668067d50e5916ebafd53 (diff) | |
download | gstreamer-plugins-bad-1537023905cf8f0192afa33c1ddfce2150ad8682.tar.gz |
mpegtsmux: add pat-interval and pmt-interval properties
https://bugzilla.gnome.org/show_bug.cgi?id=608896
Diffstat (limited to 'gst/mpegtsmux/tsmux')
-rw-r--r-- | gst/mpegtsmux/tsmux/tsmux.c | 5 | ||||
-rw-r--r-- | gst/mpegtsmux/tsmux/tsmuxcommon.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gst/mpegtsmux/tsmux/tsmux.c b/gst/mpegtsmux/tsmux/tsmux.c index 538f3b2fc..947e640c1 100644 --- a/gst/mpegtsmux/tsmux/tsmux.c +++ b/gst/mpegtsmux/tsmux/tsmux.c @@ -110,11 +110,6 @@ /* Times per second to write PCR */ #define TSMUX_DEFAULT_PCR_FREQ (25) -/* PAT interval (1/10th sec) */ -#define TSMUX_DEFAULT_PAT_INTERVAL (TSMUX_CLOCK_FREQ / 10) -/* PMT interval (1/10th sec) */ -#define TSMUX_DEFAULT_PMT_INTERVAL (TSMUX_CLOCK_FREQ / 10) - static gboolean tsmux_write_pat (TsMux * mux); static gboolean tsmux_write_pmt (TsMux * mux, TsMuxProgram * program); diff --git a/gst/mpegtsmux/tsmux/tsmuxcommon.h b/gst/mpegtsmux/tsmux/tsmuxcommon.h index 3eb709df5..4bc7304cd 100644 --- a/gst/mpegtsmux/tsmux/tsmuxcommon.h +++ b/gst/mpegtsmux/tsmux/tsmuxcommon.h @@ -115,6 +115,11 @@ G_BEGIN_DECLS #define TSMUX_PACKET_FLAG_PES_WRITE_ESCR (1 << 11) #define TSMUX_PACKET_FLAG_PES_EXT_STREAMID (1 << 12) +/* PAT interval (1/10th sec) */ +#define TSMUX_DEFAULT_PAT_INTERVAL (TSMUX_CLOCK_FREQ / 10) +/* PMT interval (1/10th sec) */ +#define TSMUX_DEFAULT_PMT_INTERVAL (TSMUX_CLOCK_FREQ / 10) + typedef struct TsMuxPacketInfo TsMuxPacketInfo; typedef struct TsMuxProgram TsMuxProgram; typedef struct TsMuxStream TsMuxStream; |