[totem] backend: Remove outdated check
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] backend: Remove outdated check
- Date: Mon, 4 Apr 2011 16:28:58 +0000 (UTC)
commit 83002fd6e010316e0f4c94a37b003c9930847923
Author: Bastien Nocera <hadess hadess net>
Date: Mon Apr 4 00:38:00 2011 +0100
backend: Remove outdated check
We don't use the "frame" property of playbin, no need to check
for it.
src/backend/bacon-video-widget-gst-0.10.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index 71cade2..075436c 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -5923,14 +5923,6 @@ bacon_video_widget_can_get_frames (BaconVideoWidget * bvw, GError ** error)
g_return_val_if_fail (BACON_IS_VIDEO_WIDGET (bvw), FALSE);
g_return_val_if_fail (GST_IS_ELEMENT (bvw->priv->play), FALSE);
- /* check for version */
- if (!g_object_class_find_property (
- G_OBJECT_GET_CLASS (bvw->priv->play), "frame")) {
- g_set_error_literal (error, BVW_ERROR, BVW_ERROR_GENERIC,
- _("Too old version of GStreamer installed."));
- return FALSE;
- }
-
/* check for video */
if (!bvw->priv->media_has_video && !bvw->priv->show_vfx) {
g_set_error_literal (error, BVW_ERROR, BVW_ERROR_GENERIC,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]