totem r5201 - in trunk: . src/backend
- From: zaheerm svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5201 - in trunk: . src/backend
- Date: Sat, 1 Mar 2008 14:20:13 +0000 (GMT)
Author: zaheerm
Date: Sat Mar 1 14:20:13 2008
New Revision: 5201
URL: http://svn.gnome.org/viewvc/totem?rev=5201&view=rev
Log:
* src/backend/bacon-video-widget-gst-0.10.c:
Add DVB-C support.
Modified:
trunk/ChangeLog
trunk/src/backend/bacon-video-widget-gst-0.10.c
Modified: trunk/src/backend/bacon-video-widget-gst-0.10.c
==============================================================================
--- trunk/src/backend/bacon-video-widget-gst-0.10.c (original)
+++ trunk/src/backend/bacon-video-widget-gst-0.10.c Sat Mar 1 14:20:13 2008
@@ -4025,6 +4025,8 @@
adapter_type = 'T';
} else if (g_str_equal (g_value_get_string (val), "DVB-S") != FALSE) {
adapter_type = 'S';
+ } else if (g_str_equal (g_value_get_string (val), "DVB-C") != FALSE) {
+ adapter_type = 'C';
}
}
gst_message_unref (msg);
@@ -4147,7 +4149,8 @@
if (line[0] != '#') {
gchar** fields = g_strsplit(line, ":", 0);
if ((g_strv_length (fields) == 13 && adapter_type == 'T') ||
- (g_strv_length (fields) == 8 && adapter_type == 'S')) {
+ (g_strv_length (fields) == 8 && adapter_type == 'S') ||
+ (g_strv_length (fields) == 9 && adapter_type == 'C')) {
g_ptr_array_add (array, g_strdup_printf("dvb://%s", fields[0]));
}
g_strfreev(fields);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]