From 446c50e05200eca822b4553dbd299f98d62aecf8 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 19 Apr 2011 19:28:30 +0200 Subject: [PATCH] gstffmpeg: register_protocol => av_register_protocol2 --- ext/ffmpeg/gstffmpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/ffmpeg/gstffmpeg.c b/ext/ffmpeg/gstffmpeg.c index 245ff6004a..6fccb619bc 100644 --- a/ext/ffmpeg/gstffmpeg.c +++ b/ext/ffmpeg/gstffmpeg.c @@ -151,8 +151,8 @@ plugin_init (GstPlugin * plugin) #endif gst_ffmpegaudioresample_register (plugin); - register_protocol (&gstreamer_protocol); - register_protocol (&gstpipe_protocol); + av_register_protocol2 (&gstreamer_protocol, sizeof (URLProtocol)); + av_register_protocol2 (&gstpipe_protocol, sizeof (URLProtocol)); /* Now we can return the pointer to the newly created Plugin object. */ return TRUE;