fixed all in-use instances of asyncdisksrc

Original commit message from CVS:
fixed all in-use instances of asyncdisksrc
This commit is contained in:
Erik Walthinsen 2001-02-04 21:38:47 +00:00
parent 38ff9ae802
commit 943e728898
3 changed files with 3 additions and 3 deletions

View file

@ -258,7 +258,7 @@ gst_play_set_uri (GstPlay *play,
priv->uri = g_strdup (uri);
//priv->src = gst_elementfactory_make ("disksrc", "disk_src");
priv->src = gst_elementfactory_make ("asyncdisksrc", "disk_src");
priv->src = gst_elementfactory_make ("disksrc", "disk_src");
//priv->src = gst_elementfactory_make ("dvdsrc", "disk_src");
g_return_val_if_fail (priv->src != NULL, -1);
gtk_object_set (GTK_OBJECT (priv->src),"location",uri,NULL);

View file

@ -135,7 +135,7 @@ int main(int argc,char *argv[]) {
pipeline = gst_pipeline_new("pipeline");
g_return_val_if_fail(pipeline != NULL, -1);
//src = gst_elementfactory_make("asyncdisksrc","src");
//src = gst_elementfactory_make("disksrc","src");
src = gst_elementfactory_make("disksrc","src");
g_return_val_if_fail(src != NULL, -1);
gtk_object_set(GTK_OBJECT(src),"location",argv[1],NULL);

View file

@ -34,7 +34,7 @@ int main(int argc,char *argv[]) {
/* then the decode thread, source, and decoder */
decodethread = gst_thread_new("decodethread");
srcfactory = gst_elementfactory_find("asyncdisksrc");
srcfactory = gst_elementfactory_find("disksrc");
src = gst_elementfactory_create(srcfactory,"src");
gtk_object_set(GTK_OBJECT(src),"location",argv[1],NULL);
gst_bin_add(GST_BIN(decodethread),GST_ELEMENT(src));