Lines Matching refs:appsrc

216 static void gst_app_src_set_latencies (GstAppSrc * appsrc,
234 static GstFlowReturn gst_app_src_push_buffer_action (GstAppSrc * appsrc,
236 static GstFlowReturn gst_app_src_push_buffer_list_action (GstAppSrc * appsrc,
238 static GstFlowReturn gst_app_src_push_sample_action (GstAppSrc * appsrc,
569 gst_app_src_init (GstAppSrc * appsrc) in gst_app_src_init() argument
573 priv = appsrc->priv = gst_app_src_get_instance_private (appsrc); in gst_app_src_init()
591 gst_base_src_set_live (GST_BASE_SRC (appsrc), DEFAULT_PROP_IS_LIVE); in gst_app_src_init()
622 GstAppSrc *appsrc = GST_APP_SRC_CAST (obj); in gst_app_src_dispose() local
623 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_dispose()
625 GST_OBJECT_LOCK (appsrc); in gst_app_src_dispose()
640 GST_OBJECT_UNLOCK (appsrc); in gst_app_src_dispose()
643 gst_app_src_flush_queued (appsrc, FALSE); in gst_app_src_dispose()
652 GstAppSrc *appsrc = GST_APP_SRC_CAST (obj); in gst_app_src_finalize() local
653 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_finalize()
667 GstAppSrc *appsrc = GST_APP_SRC (bsrc); in gst_app_src_internal_get_caps() local
670 GST_OBJECT_LOCK (appsrc); in gst_app_src_internal_get_caps()
671 if ((caps = appsrc->priv->current_caps)) in gst_app_src_internal_get_caps()
673 GST_OBJECT_UNLOCK (appsrc); in gst_app_src_internal_get_caps()
686 GST_DEBUG_OBJECT (appsrc, "caps: %" GST_PTR_FORMAT, caps); in gst_app_src_internal_get_caps()
694 GstAppSrc *appsrc = GST_APP_SRC_CAST (object); in gst_app_src_set_property() local
695 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_set_property()
699 gst_app_src_set_caps (appsrc, gst_value_get_caps (value)); in gst_app_src_set_property()
702 gst_app_src_set_size (appsrc, g_value_get_int64 (value)); in gst_app_src_set_property()
705 gst_app_src_set_stream_type (appsrc, g_value_get_enum (value)); in gst_app_src_set_property()
708 gst_app_src_set_max_bytes (appsrc, g_value_get_uint64 (value)); in gst_app_src_set_property()
717 gst_base_src_set_live (GST_BASE_SRC (appsrc), in gst_app_src_set_property()
721 gst_app_src_set_latencies (appsrc, TRUE, g_value_get_int64 (value), in gst_app_src_set_property()
725 gst_app_src_set_latencies (appsrc, FALSE, -1, TRUE, in gst_app_src_set_property()
729 gst_app_src_set_emit_signals (appsrc, g_value_get_boolean (value)); in gst_app_src_set_property()
735 gst_app_src_set_duration (appsrc, g_value_get_uint64 (value)); in gst_app_src_set_property()
747 GstAppSrc *appsrc = GST_APP_SRC_CAST (object); in gst_app_src_get_property() local
748 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_get_property()
752 g_value_take_boxed (value, gst_app_src_get_caps (appsrc)); in gst_app_src_get_property()
755 g_value_set_int64 (value, gst_app_src_get_size (appsrc)); in gst_app_src_get_property()
758 g_value_set_enum (value, gst_app_src_get_stream_type (appsrc)); in gst_app_src_get_property()
761 g_value_set_uint64 (value, gst_app_src_get_max_bytes (appsrc)); in gst_app_src_get_property()
770 g_value_set_boolean (value, gst_base_src_is_live (GST_BASE_SRC (appsrc))); in gst_app_src_get_property()
776 gst_app_src_get_latency (appsrc, &min, NULL); in gst_app_src_get_property()
784 gst_app_src_get_latency (appsrc, NULL, &max); in gst_app_src_get_property()
789 g_value_set_boolean (value, gst_app_src_get_emit_signals (appsrc)); in gst_app_src_get_property()
795 g_value_set_uint64 (value, gst_app_src_get_current_level_bytes (appsrc)); in gst_app_src_get_property()
798 g_value_set_uint64 (value, gst_app_src_get_duration (appsrc)); in gst_app_src_get_property()
809 GstAppSrc *appsrc = GST_APP_SRC_CAST (element); in gst_app_src_send_event() local
810 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_send_event()
815 gst_app_src_flush_queued (appsrc, TRUE); in gst_app_src_send_event()
829 GstAppSrc *appsrc = GST_APP_SRC_CAST (bsrc); in gst_app_src_unlock() local
830 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_unlock()
833 GST_DEBUG_OBJECT (appsrc, "unlock start"); in gst_app_src_unlock()
844 GstAppSrc *appsrc = GST_APP_SRC_CAST (bsrc); in gst_app_src_unlock_stop() local
845 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_unlock_stop()
848 GST_DEBUG_OBJECT (appsrc, "unlock stop"); in gst_app_src_unlock_stop()
859 GstAppSrc *appsrc = GST_APP_SRC_CAST (bsrc); in gst_app_src_start() local
860 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_start()
863 GST_DEBUG_OBJECT (appsrc, "starting"); in gst_app_src_start()
879 GstAppSrc *appsrc = GST_APP_SRC_CAST (bsrc); in gst_app_src_stop() local
880 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_stop()
883 GST_DEBUG_OBJECT (appsrc, "stopping"); in gst_app_src_stop()
887 gst_app_src_flush_queued (appsrc, TRUE); in gst_app_src_stop()
897 GstAppSrc *appsrc = GST_APP_SRC_CAST (src); in gst_app_src_is_seekable() local
898 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_is_seekable()
915 GstAppSrc *appsrc = GST_APP_SRC_CAST (src); in gst_app_src_do_get_size() local
917 *size = gst_app_src_get_size (appsrc); in gst_app_src_do_get_size()
925 GstAppSrc *appsrc = GST_APP_SRC_CAST (src); in gst_app_src_query() local
926 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_query()
996 GstAppSrc *appsrc = GST_APP_SRC_CAST (src); in gst_app_src_do_seek() local
997 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_do_seek()
1007 GST_DEBUG_OBJECT (appsrc, "seeking to %" G_GINT64_FORMAT ", format %s", in gst_app_src_do_seek()
1011 res = priv->callbacks.seek_data (appsrc, desired_position, priv->user_data); in gst_app_src_do_seek()
1020 g_signal_emit (appsrc, gst_app_src_signals[SIGNAL_SEEK_DATA], 0, in gst_app_src_do_seek()
1025 GST_DEBUG_OBJECT (appsrc, "flushing queue"); in gst_app_src_do_seek()
1027 gst_app_src_flush_queued (appsrc, TRUE); in gst_app_src_do_seek()
1031 GST_WARNING_OBJECT (appsrc, "seek failed"); in gst_app_src_do_seek()
1039 gst_app_src_emit_seek (GstAppSrc * appsrc, guint64 offset) in gst_app_src_emit_seek() argument
1043 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_emit_seek()
1048 GST_DEBUG_OBJECT (appsrc, in gst_app_src_emit_seek()
1053 res = priv->callbacks.seek_data (appsrc, offset, priv->user_data); in gst_app_src_emit_seek()
1055 g_signal_emit (appsrc, gst_app_src_signals[SIGNAL_SEEK_DATA], 0, in gst_app_src_emit_seek()
1066 gst_app_src_emit_need_data (GstAppSrc * appsrc, guint size) in gst_app_src_emit_need_data() argument
1069 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_emit_need_data()
1076 priv->callbacks.need_data (appsrc, size, priv->user_data); in gst_app_src_emit_need_data()
1078 g_signal_emit (appsrc, gst_app_src_signals[SIGNAL_NEED_DATA], 0, size, in gst_app_src_emit_need_data()
1089 GstAppSrc *appsrc = GST_APP_SRC_CAST (basesrc); in gst_app_src_do_negotiate() local
1090 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_do_negotiate()
1115 GstAppSrc *appsrc = GST_APP_SRC_CAST (basesrc); in gst_app_src_negotiate() local
1116 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_negotiate()
1129 GstAppSrc *appsrc = GST_APP_SRC_CAST (bsrc); in gst_app_src_create() local
1130 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_create()
1133 GST_OBJECT_LOCK (appsrc); in gst_app_src_create()
1136 GST_DEBUG_OBJECT (appsrc, in gst_app_src_create()
1140 GST_OBJECT_UNLOCK (appsrc); in gst_app_src_create()
1142 gst_element_post_message (GST_ELEMENT (appsrc), in gst_app_src_create()
1143 gst_message_new_duration_changed (GST_OBJECT (appsrc))); in gst_app_src_create()
1146 GST_DEBUG_OBJECT (appsrc, in gst_app_src_create()
1150 GST_OBJECT_UNLOCK (appsrc); in gst_app_src_create()
1152 gst_element_post_message (GST_ELEMENT (appsrc), in gst_app_src_create()
1153 gst_message_new_duration_changed (GST_OBJECT (appsrc))); in gst_app_src_create()
1155 GST_OBJECT_UNLOCK (appsrc); in gst_app_src_create()
1170 res = gst_app_src_emit_seek (appsrc, offset); in gst_app_src_create()
1219 GST_LOG_OBJECT (appsrc, "have buffer %p of size %u", *buf, buf_size); in gst_app_src_create()
1229 GST_LOG_OBJECT (appsrc, "have buffer list %p of size %u, %u buffers", in gst_app_src_create()
1251 gst_app_src_emit_need_data (appsrc, size); in gst_app_src_create()
1256 gst_app_src_emit_need_data (appsrc, size); in gst_app_src_create()
1288 GST_DEBUG_OBJECT (appsrc, "we are flushing"); in gst_app_src_create()
1294 GST_DEBUG_OBJECT (appsrc, "we are EOS"); in gst_app_src_create()
1301 GST_ELEMENT_ERROR (appsrc, RESOURCE, READ, ("failed to seek"), in gst_app_src_create()
1320 gst_app_src_set_caps (GstAppSrc * appsrc, const GstCaps * caps) in gst_app_src_set_caps() argument
1325 g_return_if_fail (GST_IS_APP_SRC (appsrc)); in gst_app_src_set_caps()
1327 priv = appsrc->priv; in gst_app_src_set_caps()
1331 GST_OBJECT_LOCK (appsrc); in gst_app_src_set_caps()
1342 GST_DEBUG_OBJECT (appsrc, "setting caps to %" GST_PTR_FORMAT, caps); in gst_app_src_set_caps()
1351 GST_OBJECT_UNLOCK (appsrc); in gst_app_src_set_caps()
1365 gst_app_src_get_caps (GstAppSrc * appsrc) in gst_app_src_get_caps() argument
1370 g_return_val_if_fail (GST_IS_APP_SRC (appsrc), NULL); in gst_app_src_get_caps()
1372 GST_OBJECT_LOCK (appsrc); in gst_app_src_get_caps()
1373 if ((caps = appsrc->priv->last_caps)) in gst_app_src_get_caps()
1375 GST_OBJECT_UNLOCK (appsrc); in gst_app_src_get_caps()
1390 gst_app_src_set_size (GstAppSrc * appsrc, gint64 size) in gst_app_src_set_size() argument
1394 g_return_if_fail (GST_IS_APP_SRC (appsrc)); in gst_app_src_set_size()
1396 priv = appsrc->priv; in gst_app_src_set_size()
1398 GST_OBJECT_LOCK (appsrc); in gst_app_src_set_size()
1399 GST_DEBUG_OBJECT (appsrc, "setting size of %" G_GINT64_FORMAT, size); in gst_app_src_set_size()
1401 GST_OBJECT_UNLOCK (appsrc); in gst_app_src_set_size()
1414 gst_app_src_get_size (GstAppSrc * appsrc) in gst_app_src_get_size() argument
1419 g_return_val_if_fail (GST_IS_APP_SRC (appsrc), -1); in gst_app_src_get_size()
1421 priv = appsrc->priv; in gst_app_src_get_size()
1423 GST_OBJECT_LOCK (appsrc); in gst_app_src_get_size()
1425 GST_DEBUG_OBJECT (appsrc, "getting size of %" G_GINT64_FORMAT, size); in gst_app_src_get_size()
1426 GST_OBJECT_UNLOCK (appsrc); in gst_app_src_get_size()
1442 gst_app_src_set_duration (GstAppSrc * appsrc, GstClockTime duration) in gst_app_src_set_duration() argument
1446 g_return_if_fail (GST_IS_APP_SRC (appsrc)); in gst_app_src_set_duration()
1448 priv = appsrc->priv; in gst_app_src_set_duration()
1450 GST_OBJECT_LOCK (appsrc); in gst_app_src_set_duration()
1451 GST_DEBUG_OBJECT (appsrc, "setting duration of %" GST_TIME_FORMAT, in gst_app_src_set_duration()
1454 GST_OBJECT_UNLOCK (appsrc); in gst_app_src_set_duration()
1469 gst_app_src_get_duration (GstAppSrc * appsrc) in gst_app_src_get_duration() argument
1474 g_return_val_if_fail (GST_IS_APP_SRC (appsrc), GST_CLOCK_TIME_NONE); in gst_app_src_get_duration()
1476 priv = appsrc->priv; in gst_app_src_get_duration()
1478 GST_OBJECT_LOCK (appsrc); in gst_app_src_get_duration()
1480 GST_DEBUG_OBJECT (appsrc, "getting duration of %" GST_TIME_FORMAT, in gst_app_src_get_duration()
1482 GST_OBJECT_UNLOCK (appsrc); in gst_app_src_get_duration()
1498 gst_app_src_set_stream_type (GstAppSrc * appsrc, GstAppStreamType type) in gst_app_src_set_stream_type() argument
1502 g_return_if_fail (GST_IS_APP_SRC (appsrc)); in gst_app_src_set_stream_type()
1504 priv = appsrc->priv; in gst_app_src_set_stream_type()
1506 GST_OBJECT_LOCK (appsrc); in gst_app_src_set_stream_type()
1507 GST_DEBUG_OBJECT (appsrc, "setting stream_type of %d", type); in gst_app_src_set_stream_type()
1509 GST_OBJECT_UNLOCK (appsrc); in gst_app_src_set_stream_type()
1522 gst_app_src_get_stream_type (GstAppSrc * appsrc) in gst_app_src_get_stream_type() argument
1527 g_return_val_if_fail (GST_IS_APP_SRC (appsrc), FALSE); in gst_app_src_get_stream_type()
1529 priv = appsrc->priv; in gst_app_src_get_stream_type()
1531 GST_OBJECT_LOCK (appsrc); in gst_app_src_get_stream_type()
1533 GST_DEBUG_OBJECT (appsrc, "getting stream_type of %d", stream_type); in gst_app_src_get_stream_type()
1534 GST_OBJECT_UNLOCK (appsrc); in gst_app_src_get_stream_type()
1549 gst_app_src_set_max_bytes (GstAppSrc * appsrc, guint64 max) in gst_app_src_set_max_bytes() argument
1553 g_return_if_fail (GST_IS_APP_SRC (appsrc)); in gst_app_src_set_max_bytes()
1555 priv = appsrc->priv; in gst_app_src_set_max_bytes()
1559 GST_DEBUG_OBJECT (appsrc, "setting max-bytes to %" G_GUINT64_FORMAT, max); in gst_app_src_set_max_bytes()
1576 gst_app_src_get_max_bytes (GstAppSrc * appsrc) in gst_app_src_get_max_bytes() argument
1581 g_return_val_if_fail (GST_IS_APP_SRC (appsrc), 0); in gst_app_src_get_max_bytes()
1583 priv = appsrc->priv; in gst_app_src_get_max_bytes()
1587 GST_DEBUG_OBJECT (appsrc, "getting max-bytes of %" G_GUINT64_FORMAT, result); in gst_app_src_get_max_bytes()
1604 gst_app_src_get_current_level_bytes (GstAppSrc * appsrc) in gst_app_src_get_current_level_bytes() argument
1609 g_return_val_if_fail (GST_IS_APP_SRC (appsrc), -1); in gst_app_src_get_current_level_bytes()
1611 priv = appsrc->priv; in gst_app_src_get_current_level_bytes()
1613 GST_OBJECT_LOCK (appsrc); in gst_app_src_get_current_level_bytes()
1615 GST_DEBUG_OBJECT (appsrc, "current level bytes is %" G_GUINT64_FORMAT, in gst_app_src_get_current_level_bytes()
1617 GST_OBJECT_UNLOCK (appsrc); in gst_app_src_get_current_level_bytes()
1623 gst_app_src_set_latencies (GstAppSrc * appsrc, gboolean do_min, guint64 min, in gst_app_src_set_latencies() argument
1626 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_set_latencies()
1641 GST_DEBUG_OBJECT (appsrc, "posting latency changed"); in gst_app_src_set_latencies()
1642 gst_element_post_message (GST_ELEMENT_CAST (appsrc), in gst_app_src_set_latencies()
1643 gst_message_new_latency (GST_OBJECT_CAST (appsrc))); in gst_app_src_set_latencies()
1657 gst_app_src_set_latency (GstAppSrc * appsrc, guint64 min, guint64 max) in gst_app_src_set_latency() argument
1659 gst_app_src_set_latencies (appsrc, TRUE, min, TRUE, max); in gst_app_src_set_latency()
1671 gst_app_src_get_latency (GstAppSrc * appsrc, guint64 * min, guint64 * max) in gst_app_src_get_latency() argument
1675 g_return_if_fail (GST_IS_APP_SRC (appsrc)); in gst_app_src_get_latency()
1677 priv = appsrc->priv; in gst_app_src_get_latency()
1697 gst_app_src_set_emit_signals (GstAppSrc * appsrc, gboolean emit) in gst_app_src_set_emit_signals() argument
1701 g_return_if_fail (GST_IS_APP_SRC (appsrc)); in gst_app_src_set_emit_signals()
1703 priv = appsrc->priv; in gst_app_src_set_emit_signals()
1720 gst_app_src_get_emit_signals (GstAppSrc * appsrc) in gst_app_src_get_emit_signals() argument
1725 g_return_val_if_fail (GST_IS_APP_SRC (appsrc), FALSE); in gst_app_src_get_emit_signals()
1727 priv = appsrc->priv; in gst_app_src_get_emit_signals()
1737 gst_app_src_push_internal (GstAppSrc * appsrc, GstBuffer * buffer, in gst_app_src_push_internal() argument
1743 g_return_val_if_fail (GST_IS_APP_SRC (appsrc), GST_FLOW_ERROR); in gst_app_src_push_internal()
1745 priv = appsrc->priv; in gst_app_src_push_internal()
1761 gst_base_src_get_do_timestamp (GST_BASE_SRC_CAST (appsrc))) { in gst_app_src_push_internal()
1764 clock = gst_element_get_clock (GST_ELEMENT_CAST (appsrc)); in gst_app_src_push_internal()
1768 gst_element_get_base_time (GST_ELEMENT_CAST (appsrc)); in gst_app_src_push_internal()
1797 GST_WARNING_OBJECT (appsrc, in gst_app_src_push_internal()
1815 GST_DEBUG_OBJECT (appsrc, in gst_app_src_push_internal()
1827 priv->callbacks.enough_data (appsrc, priv->user_data); in gst_app_src_push_internal()
1829 g_signal_emit (appsrc, gst_app_src_signals[SIGNAL_ENOUGH_DATA], 0, in gst_app_src_push_internal()
1838 GST_DEBUG_OBJECT (appsrc, "waiting for free space"); in gst_app_src_push_internal()
1855 GST_DEBUG_OBJECT (appsrc, "queueing buffer list %p", buflist); in gst_app_src_push_internal()
1861 GST_DEBUG_OBJECT (appsrc, "queueing buffer %p", buffer); in gst_app_src_push_internal()
1878 GST_DEBUG_OBJECT (appsrc, "refuse buffer %p, we are flushing", buffer); in gst_app_src_push_internal()
1886 GST_DEBUG_OBJECT (appsrc, "refuse buffer %p, we are EOS", buffer); in gst_app_src_push_internal()
1895 gst_app_src_push_buffer_full (GstAppSrc * appsrc, GstBuffer * buffer, in gst_app_src_push_buffer_full() argument
1898 return gst_app_src_push_internal (appsrc, buffer, NULL, steal_ref); in gst_app_src_push_buffer_full()
1902 gst_app_src_push_sample_internal (GstAppSrc * appsrc, GstSample * sample) in gst_app_src_push_sample_internal() argument
1912 gst_app_src_set_caps (appsrc, caps); in gst_app_src_push_sample_internal()
1914 GST_WARNING_OBJECT (appsrc, "received sample without caps"); in gst_app_src_push_sample_internal()
1919 return gst_app_src_push_buffer_full (appsrc, buffer, FALSE); in gst_app_src_push_sample_internal()
1923 return gst_app_src_push_internal (appsrc, NULL, buffer_list, FALSE); in gst_app_src_push_sample_internal()
1925 GST_WARNING_OBJECT (appsrc, "received sample without buffer or buffer list"); in gst_app_src_push_sample_internal()
1945 gst_app_src_push_buffer (GstAppSrc * appsrc, GstBuffer * buffer) in gst_app_src_push_buffer() argument
1947 return gst_app_src_push_buffer_full (appsrc, buffer, TRUE); in gst_app_src_push_buffer()
1969 gst_app_src_push_buffer_list (GstAppSrc * appsrc, GstBufferList * buffer_list) in gst_app_src_push_buffer_list() argument
1971 return gst_app_src_push_internal (appsrc, NULL, buffer_list, TRUE); in gst_app_src_push_buffer_list()
1999 gst_app_src_push_sample (GstAppSrc * appsrc, GstSample * sample) in gst_app_src_push_sample() argument
2001 return gst_app_src_push_sample_internal (appsrc, sample); in gst_app_src_push_sample()
2007 gst_app_src_push_buffer_action (GstAppSrc * appsrc, GstBuffer * buffer) in gst_app_src_push_buffer_action() argument
2009 return gst_app_src_push_buffer_full (appsrc, buffer, FALSE); in gst_app_src_push_buffer_action()
2015 gst_app_src_push_buffer_list_action (GstAppSrc * appsrc, in gst_app_src_push_buffer_list_action() argument
2018 return gst_app_src_push_internal (appsrc, NULL, buffer_list, FALSE); in gst_app_src_push_buffer_list_action()
2024 gst_app_src_push_sample_action (GstAppSrc * appsrc, GstSample * sample) in gst_app_src_push_sample_action() argument
2026 return gst_app_src_push_sample_internal (appsrc, sample); in gst_app_src_push_sample_action()
2040 gst_app_src_end_of_stream (GstAppSrc * appsrc) in gst_app_src_end_of_stream() argument
2044 g_return_val_if_fail (GST_IS_APP_SRC (appsrc), GST_FLOW_ERROR); in gst_app_src_end_of_stream()
2046 priv = appsrc->priv; in gst_app_src_end_of_stream()
2054 GST_DEBUG_OBJECT (appsrc, "sending EOS"); in gst_app_src_end_of_stream()
2065 GST_DEBUG_OBJECT (appsrc, "refuse EOS, we are flushing"); in gst_app_src_end_of_stream()
2086 gst_app_src_set_callbacks (GstAppSrc * appsrc, in gst_app_src_set_callbacks() argument
2092 g_return_if_fail (GST_IS_APP_SRC (appsrc)); in gst_app_src_set_callbacks()
2095 priv = appsrc->priv; in gst_app_src_set_callbacks()
2097 GST_OBJECT_LOCK (appsrc); in gst_app_src_set_callbacks()
2107 GST_OBJECT_UNLOCK (appsrc); in gst_app_src_set_callbacks()
2111 GST_OBJECT_LOCK (appsrc); in gst_app_src_set_callbacks()
2116 GST_OBJECT_UNLOCK (appsrc); in gst_app_src_set_callbacks()
2138 GstAppSrc *appsrc = GST_APP_SRC (handler); in gst_app_src_uri_get_uri() local
2140 return appsrc->priv->uri ? g_strdup (appsrc->priv->uri) : NULL; in gst_app_src_uri_get_uri()
2147 GstAppSrc *appsrc = GST_APP_SRC (handler); in gst_app_src_uri_set_uri() local
2149 g_free (appsrc->priv->uri); in gst_app_src_uri_set_uri()
2150 appsrc->priv->uri = uri ? g_strdup (uri) : NULL; in gst_app_src_uri_set_uri()
2169 GstAppSrc *appsrc = GST_APP_SRC_CAST (src); in gst_app_src_event() local
2170 GstAppSrcPrivate *priv = appsrc->priv; in gst_app_src_event()