mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 02:15:31 +00:00
mpegtsmux: remove unused variable
This commit is contained in:
parent
ba878f7427
commit
aac497b635
1 changed files with 0 additions and 2 deletions
|
@ -821,7 +821,6 @@ new_packet_cb (guint8 * data, guint len, void *user_data, gint64 new_pcr)
|
||||||
GstFlowReturn ret;
|
GstFlowReturn ret;
|
||||||
gfloat current_ts;
|
gfloat current_ts;
|
||||||
gint64 m2ts_pcr, pcr_bytes, chunk_bytes;
|
gint64 m2ts_pcr, pcr_bytes, chunk_bytes;
|
||||||
gint8 *temp_ptr;
|
|
||||||
gint64 ts_rate;
|
gint64 ts_rate;
|
||||||
|
|
||||||
if (mux->m2ts_mode == TRUE) {
|
if (mux->m2ts_mode == TRUE) {
|
||||||
|
@ -877,7 +876,6 @@ new_packet_cb (guint8 * data, guint len, void *user_data, gint64 new_pcr)
|
||||||
m2ts_pcr = (((gint64) (STANDARD_TIME_CLOCK * current_ts / 300) &
|
m2ts_pcr = (((gint64) (STANDARD_TIME_CLOCK * current_ts / 300) &
|
||||||
TWO_POW_33_MINUS1) * 300) + ((gint64) (STANDARD_TIME_CLOCK *
|
TWO_POW_33_MINUS1) * 300) + ((gint64) (STANDARD_TIME_CLOCK *
|
||||||
current_ts) % 300);
|
current_ts) % 300);
|
||||||
temp_ptr = (gint8 *) & m2ts_pcr;
|
|
||||||
|
|
||||||
out_buf = gst_adapter_take_buffer (mux->adapter, M2TS_PACKET_LENGTH);
|
out_buf = gst_adapter_take_buffer (mux->adapter, M2TS_PACKET_LENGTH);
|
||||||
if (G_UNLIKELY (!out_buf))
|
if (G_UNLIKELY (!out_buf))
|
||||||
|
|
Loading…
Reference in a new issue