mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 06:01:04 +00:00
Register the event type.
Original commit message from CVS: Register the event type. Don't process an event in gstfakesink.c
This commit is contained in:
parent
bd13c9eb8e
commit
37db6764dc
4 changed files with 6 additions and 2 deletions
|
@ -224,6 +224,7 @@ gst_fakesink_chain (GstPad *pad, GstBuffer *buf)
|
|||
|
||||
if (GST_IS_EVENT(buf)) {
|
||||
g_print("fakesink: have event!\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!fakesink->silent)
|
||||
|
|
|
@ -99,6 +99,7 @@ gst_init (int *argc, char **argv[])
|
|||
_gst_props_initialize ();
|
||||
_gst_caps_initialize ();
|
||||
_gst_plugin_initialize ();
|
||||
_gst_event_initialize ();
|
||||
_gst_buffer_initialize ();
|
||||
_gst_buffer_pool_initialize ();
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ _gst_buffer_initialize (void)
|
|||
* Returns: new buffer
|
||||
*/
|
||||
GstBuffer*
|
||||
gst_buffer_new(void)
|
||||
gst_buffer_new (void)
|
||||
{
|
||||
GstBuffer *buffer;
|
||||
|
||||
|
@ -243,7 +243,8 @@ gst_buffer_append (GstBuffer *buffer,
|
|||
*
|
||||
* destroy the buffer
|
||||
*/
|
||||
void gst_buffer_destroy (GstBuffer *buffer)
|
||||
void
|
||||
gst_buffer_destroy (GstBuffer *buffer)
|
||||
{
|
||||
|
||||
g_return_if_fail (buffer != NULL);
|
||||
|
|
|
@ -224,6 +224,7 @@ gst_fakesink_chain (GstPad *pad, GstBuffer *buf)
|
|||
|
||||
if (GST_IS_EVENT(buf)) {
|
||||
g_print("fakesink: have event!\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!fakesink->silent)
|
||||
|
|
Loading…
Reference in a new issue