gstffmpeg: register_protocol => av_register_protocol2

This commit is contained in:
Edward Hervey 2011-04-19 19:28:30 +02:00
parent 09e4d11de0
commit 446c50e052

View file

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