git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@22794
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
double vol)
{
Emotion_Gstreamer_Video *ev;
- Emotion_Audio_Sink *asink;
GstElement *volume;
ev = (Emotion_Gstreamer_Video *)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);