openbsd-ports/multimedia/gstreamer-0.10/plugins-ugly/patches/patch-ext_dvdread_dvdreadsrc_c
2008-05-13 15:11:51 +00:00

22 lines
892 B
Plaintext

$OpenBSD: patch-ext_dvdread_dvdreadsrc_c,v 1.2 2008/05/13 15:11:51 espie Exp $
--- ext/dvdread/dvdreadsrc.c.orig Mon Feb 18 16:49:58 2008
+++ ext/dvdread/dvdreadsrc.c Tue May 13 16:00:51 2008
@@ -128,7 +128,7 @@ gst_dvd_read_src_init (GstDvdReadSrc * src, GstDvdRead
src->vmg_file = NULL;
src->dvd_title = NULL;
- src->location = g_strdup ("/dev/dvd");
+ src->location = g_strdup ("/dev/rcd0c");
src->last_uri = NULL;
src->new_seek = TRUE;
src->new_cell = TRUE;
@@ -955,7 +955,7 @@ gst_dvd_read_src_set_property (GObject * object, guint
g_free (src->location);
/* clear the filename if we get a NULL (is that possible?) */
if (g_value_get_string (value) == NULL) {
- src->location = g_strdup ("/dev/dvd");
+ src->location = g_strdup ("/dev/rcd0c");
} else {
src->location = g_strdup (g_value_get_string (value));
}