mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
a3d5d3a62b
Original commit message from CVS: Switched Cr and Cb in YUV2RGB fixed the avi parser (gstriff had wrong size) the system_encoder can now do video only system streams sanitized the colorspace and scaler api. added fast self modifying asm scaler. worked on the typefind stuff. added a cool media player (gstplay) it uses the typefinder to playback avi, mpeg1 (system and video) streams. It is also a testbed and a real app.
84 lines
1.5 KiB
C
84 lines
1.5 KiB
C
#ifdef HAVE_CONFIG_H
|
|
# include <config.h>
|
|
#endif
|
|
|
|
#include <gnome.h>
|
|
#include <gst/gst.h>
|
|
|
|
#include "callbacks.h"
|
|
#include "interface.h"
|
|
#include "support.h"
|
|
|
|
extern GstElement *src;
|
|
|
|
void
|
|
on_file1_activate (GtkMenuItem *menuitem,
|
|
gpointer user_data)
|
|
{
|
|
|
|
}
|
|
|
|
|
|
void
|
|
on_open1_activate (GtkMenuItem *menuitem,
|
|
gpointer user_data)
|
|
{
|
|
|
|
}
|
|
|
|
|
|
void
|
|
on_close1_activate (GtkMenuItem *menuitem,
|
|
gpointer user_data)
|
|
{
|
|
|
|
}
|
|
|
|
|
|
void
|
|
on_media1_activate (GtkMenuItem *menuitem,
|
|
gpointer user_data)
|
|
{
|
|
|
|
}
|
|
|
|
|
|
void
|
|
on_play2_activate (GtkMenuItem *menuitem,
|
|
gpointer user_data)
|
|
{
|
|
|
|
}
|
|
|
|
|
|
void
|
|
on_pause1_activate (GtkMenuItem *menuitem,
|
|
gpointer user_data)
|
|
{
|
|
|
|
}
|
|
|
|
|
|
void
|
|
on_stop1_activate (GtkMenuItem *menuitem,
|
|
gpointer user_data)
|
|
{
|
|
|
|
}
|
|
|
|
|
|
void
|
|
on_about1_activate (GtkMenuItem *menuitem,
|
|
gpointer user_data)
|
|
{
|
|
|
|
}
|
|
|
|
void
|
|
on_hscale1_value_changed (GtkAdjustment *adj,
|
|
gpointer user_data)
|
|
{
|
|
gtk_object_set(GTK_OBJECT(src),"offset",10000000,NULL);
|
|
|
|
}
|
|
|