summaryrefslogtreecommitdiff
path: root/gstplay/callbacks.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2000-11-01 13:49:41 +0000
committerWim Taymans <wim.taymans@gmail.com>2000-11-01 13:49:41 +0000
commit9500bd2128556da8fabbb3bfea9e73f3187098b6 (patch)
treef554b80251ac0f90a8c632f57bc7d4d8e9b53922 /gstplay/callbacks.c
parentc69c6914c91012aad1b107eaa7afcaed7a353415 (diff)
Code cleanup, make it adhere to the Gnome/Gtk+ code formatting, which is quite clean and more readable.
Original commit message from CVS: Code cleanup, make it adhere to the Gnome/Gtk+ code formatting, which is quite clean and more readable. Renamed parseavi to avidecoder Implemented seeking/time display/pause/play/stop/clean exit to gstmediaplay Added an element flag to indicate that it cannot deal with noncontigous buffers. If such an element is found in the pipeline, seeking is disabled for the complete stream (avidecoder cannot deal with seeking until we convert it to a loop based element with pull_region to fetch the indeces etc...)
Diffstat (limited to 'gstplay/callbacks.c')
-rw-r--r--gstplay/callbacks.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gstplay/callbacks.c b/gstplay/callbacks.c
index b84796c982..a7b80f78d1 100644
--- a/gstplay/callbacks.c
+++ b/gstplay/callbacks.c
@@ -8,7 +8,6 @@
#include "gstplay.h"
#include "callbacks.h"
-#include "interface.h"
GtkFileSelection *open_file_selection;
@@ -54,19 +53,6 @@ on_open2_activate (GtkMenuItem *menuitem,
open_file_selection = GTK_FILE_SELECTION(glade_xml_get_widget(xml, "fileselection1"));
}
-void
-on_hscale1_value_changed (GtkAdjustment *adj,
- gpointer user_data)
-{
- //int size = gst_util_get_int_arg(GTK_OBJECT(src),"size");
-
- //gtk_object_set(GTK_OBJECT(src),"offset",(int)(adj->value*size/100.0),NULL);
-
- //if (state != GSTPLAY_PLAYING) {
- // show_next_picture();
- //}
-}
-
void on_about_activate(GtkWidget *widget, gpointer data)
{
GladeXML *xml;