Searched refs:max_ptime (Results 1 – 5 of 5) sorted by relevance
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtpg729pay.c | 247 if (payload->max_ptime != -1) { in gst_rtp_g729_pay_handle_buffer() 248 guint ptime_ms = payload->max_ptime / GST_MSECOND; in gst_rtp_g729_pay_handle_buffer() 256 payload->max_ptime, G729_FRAME_DURATION_MS); in gst_rtp_g729_pay_handle_buffer()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/ |
D | gstrtpbasepayload.c | 549 rtpbasepayload->max_ptime = DEFAULT_MAX_PTIME; in gst_rtp_base_payload_init() 949 rtpbasepayload->max_ptime = MIN (rtpbasepayload->priv->caps_max_ptime, in update_max_ptime() 952 rtpbasepayload->max_ptime = rtpbasepayload->priv->caps_max_ptime; in update_max_ptime() 954 rtpbasepayload->max_ptime = rtpbasepayload->priv->prop_max_ptime; in update_max_ptime() 956 rtpbasepayload->max_ptime = DEFAULT_MAX_PTIME; in update_max_ptime() 1108 guint max_ptime, ptime; in gst_rtp_base_payload_negotiate() local 1309 if (gst_structure_get_uint (s, "maxptime", &max_ptime)) in gst_rtp_base_payload_negotiate() 1310 payload->priv->caps_max_ptime = max_ptime * GST_MSECOND; in gst_rtp_base_payload_negotiate() 1546 if (payload->max_ptime != -1 && duration >= payload->max_ptime) in gst_rtp_base_payload_is_filled() 2217 g_value_set_int64 (value, rtpbasepayload->max_ptime); in gst_rtp_base_payload_get_property()
|
D | gstrtpbaseaudiopayload.c | 689 && priv->cached_max_ptime == basepayload->max_ptime in gst_rtp_base_audio_payload_get_lengths() 704 if (basepayload->max_ptime != -1) { in gst_rtp_base_audio_payload_get_lengths() 705 maxptime_octets = priv->time_to_bytes (payload, basepayload->max_ptime); in gst_rtp_base_audio_payload_get_lengths() 741 priv->cached_max_ptime = basepayload->max_ptime; in gst_rtp_base_audio_payload_get_lengths()
|
D | gstrtpbasepayload.h | 97 gint64 max_ptime; member
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | rtpbasepayload.c | 1483 gint64 max_ptime; in GST_START_TEST() local 1489 g_object_get (state->element, "max-ptime", &max_ptime, NULL); in GST_START_TEST() 1490 fail_unless_equals_int64 (max_ptime, -1); in GST_START_TEST() 1496 g_object_get (state->element, "max-ptime", &max_ptime, NULL); in GST_START_TEST() 1497 fail_unless_equals_int64 (max_ptime, GST_SECOND); in GST_START_TEST() 1504 g_object_get (state->element, "max-ptime", &max_ptime, NULL); in GST_START_TEST() 1505 fail_unless_equals_int64 (max_ptime, G_MAXUINT64); in GST_START_TEST() 1510 g_object_get (state->element, "max-ptime", &max_ptime, NULL); in GST_START_TEST() 1511 fail_unless_equals_int64 (max_ptime, G_MAXINT64); in GST_START_TEST()
|