Commit 306c47a7 authored by Ole Aamot's avatar Ole Aamot

GNOME Gingerblue 0.1.5

parent 6f3023f0
=============
Version 0.1.5
=============
Gingerblue
* src/gingerblue-main.c: Store XML into G_USER_DIRECTORY_MUSIC
* src/gingerblue-record.c: Add pipeline (Record does not work)
=============
Version 0.1.4
=============
......
AC_PREREQ([2.69])
AC_INIT([gingerblue], [0.1.4], [ole@gnome.org])
AC_INIT([gingerblue], [0.1.5], [ole@gnome.org])
AM_INIT_AUTOMAKE([-Wno-portability 1.11 no-dist-gzip dist-xz tar-ustar subdir-objects])
AM_MAINTAINER_MODE
AC_CONFIG_SRCDIR([src/gingerblue-main.c])
......
......@@ -51,6 +51,12 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%changelog
* Tue Jul 14 2020 Ole Aamot <ole@gnome.org> - 0.1.5-0
- Support G_USER_DIRECTORY_MUSIC as XML storage path
* Sun Jul 05 2020 Ole Aamot <ole@gnome.org> - 0.1.4-0
- Package of fourth release
* Sun Jul 05 2020 Ole Aamot <ole@gnome.org> - 0.1.3-0
- Package of third release
......
......@@ -62,7 +62,7 @@ static void gb_assistant_cancel (GtkAssistant *assistant, gpointer data)
static void gb_assistant_close (GtkAssistant *assistant, gpointer data)
{
FILE *fp = NULL;
gchar *filename = g_strconcat (g_get_home_dir(), _("/Music/"), gtk_entry_get_text (GTK_ENTRY (musician_entry)), " - ", gtk_entry_get_text (GTK_ENTRY (song_entry)), ".gingerblue", NULL);
gchar *filename = g_strconcat (g_get_user_special_dir (G_USER_DIRECTORY_MUSIC), "/", gtk_entry_get_text (GTK_ENTRY (musician_entry)), " - ", gtk_entry_get_text (GTK_ENTRY (song_entry)), ".gingerblue", NULL);
fp = fopen(filename, "w");
fprintf(fp, "<?xml version='1.0' encoding='UTF-8'?>\n");
fprintf(fp, "<gingerblue version='%s'>\n", VERSION);
......
......@@ -19,7 +19,7 @@
// v4l2src ! tee name=t t. ! x264enc ! mp4mux ! filesink location=/home/rish/Desktop/okay.264 t. ! videoconvert ! autovideosink
static GMainLoop *loop;
static GstElement *pipeline, *src, *tee, *encoder, *muxer, *filesink, *videoconvert, *videosink, *queue_record, *queue_display;
static GstElement *pipeline, *audio_source, *sink, *src, *tee, *encoder, *muxer, *filesink, *videoconvert, *videosink, *queue_record, *queue_display;
static GstBus *bus;
static GstPad *teepad;
static gboolean recording = FALSE;
......@@ -169,7 +169,10 @@ int gb_record_cb (char *path)
signal(SIGINT, sigintHandler);
pipeline = gst_pipeline_new(NULL);
pipeline = gst_pipeline_new("audio_stream");
audio_source = gst_element_factory_make ("alsasrc", "audio_source");
sink = gst_element_factory_make ("alsasink", "audio_sink");
src = gst_element_factory_make("v4l2src", NULL);
tee = gst_element_factory_make("tee", "tee");
queue_display = gst_element_factory_make("queue", "queue_display");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment