fix warnings

SVN revision: 22794
This commit is contained in:
doursse 2006-05-21 10:26:09 +00:00 committed by doursse
parent 20b5a8357c
commit 4f02bd7958
1 changed files with 1 additions and 2 deletions

View File

@ -1036,7 +1036,6 @@ em_audio_channel_volume_set(void *video,
double vol)
{
Emotion_Gstreamer_Video *ev;
Emotion_Audio_Sink *asink;
GstElement *volume;
ev = (Emotion_Gstreamer_Video *)video;
@ -1062,7 +1061,7 @@ em_audio_channel_volume_get(void *video)
ev = (Emotion_Gstreamer_Video *)video;
volume = gst_bin_get_by_name (GST_BIN (ev->pipeline), "volume");
if (!volume) return;
if (!volume) return 0.0;
g_object_get (G_OBJECT (volume), "volume", &vol, NULL);
gst_object_unref (volume);