totem r5568 - in trunk: . src/backend
- From: zaheerm svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5568 - in trunk: . src/backend
- Date: Mon, 18 Aug 2008 16:07:01 +0000 (UTC)
Author: zaheerm
Date: Mon Aug 18 16:07:01 2008
New Revision: 5568
URL: http://svn.gnome.org/viewvc/totem?rev=5568&view=rev
Log:
* src/backend/bacon-video-widget-gst-0.10.c:
Add ATSC support for gstreamer dvb.
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 Mon Aug 18 16:07:01 2008
@@ -3950,6 +3950,8 @@
adapter_type = 'S';
} else if (g_str_equal (g_value_get_string (val), "DVB-C") != FALSE) {
adapter_type = 'C';
+ } else if (g_str_equal (g_value_get_string (val), "ATSC") != FALSE) {
+ adapter_type = 'A';
}
}
gst_message_unref (msg);
@@ -4052,7 +4054,8 @@
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) == 9 && adapter_type == 'C')) {
+ (g_strv_length (fields) == 9 && adapter_type == 'C') ||
+ (g_strv_length (fields) == 6 && adapter_type == 'A')) {
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]