Comment 6 for bug 79445

Revision history for this message
Lin (baumbachlm) wrote :

Audio sounds are not working.... I tried to run rhythmbox also and got the message "Unknown Playback Error"... I tried ---

rhythmbox-0.9.7-bryce/backends/gstreamer/rb-player-gst.c 2007-01-15 12:07:15.000000000 -0800
+++ rhythmbox-0.9.7/backends/gstreamer/rb-player-gst.c 2006-12-11 04:36:58.000000000 -0800
@@ -695,7 +695,7 @@
  * error from the sequence into error.
  */
 static void
-end_gstreamer_operation (RBPlayerGst *mp, gboolean op_failed, const gchar* errormsg, GError **error)
+end_gstreamer_operation (RBPlayerGst *mp, gboolean op_failed, GError **error)
 {
  mp->priv->can_signal_direct_error = FALSE;
  if (mp->priv->error) {
@@ -705,7 +705,7 @@
   g_set_error (error,
         RB_PLAYER_ERROR,
         RB_PLAYER_ERROR_GENERAL,
- errormsg);
+ _("Unknown playback error"));
  }
 }

@@ -821,12 +821,12 @@
  }

  if (!rb_player_gst_sync_pipeline (mp)) {
- end_gstreamer_operation (mp, TRUE, _("Failed to sync gstreamer pipeline in open operation"), error);
+ end_gstreamer_operation (mp, TRUE, error);
   rb_player_gst_close (player, NULL);
   return FALSE;
  }

- end_gstreamer_operation (mp, FALSE, NULL, error);
+ end_gstreamer_operation (mp, FALSE, error);
  return TRUE;
 }

@@ -873,7 +873,7 @@
 #elif HAVE_GSTREAMER_0_10
  ret = gst_element_set_state (mp->priv->playbin, GST_STATE_READY) == GST_STATE_CHANGE_SUCCESS;
 #endif
- end_gstreamer_operation (mp, !ret, _("Failed to set gstreamer element state"), error);
+ end_gstreamer_operation (mp, !ret, error);
  return ret;
 }

@@ -898,7 +898,7 @@

  begin_gstreamer_operation (mp);
  ret = rb_player_gst_sync_pipeline (mp);
- end_gstreamer_operation (mp, !ret, _("Failed to sync gstreamer pipeline in play operation"), error);
+ end_gstreamer_operation (mp, !ret, error);
  return ret;
 }

But I have no idea where it goes. Can someone help
Thanks Ahead of Time