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:
Wim Taymans 2001-09-11 19:03:59 +00:00
parent bd13c9eb8e
commit 37db6764dc
4 changed files with 6 additions and 2 deletions

View file

@ -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)

View file

@ -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 ();

View file

@ -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);

View file

@ -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)