GithubHelp home page GithubHelp logo

kalemediaplayer's Introduction

Hacker of GNU, sovereign programmer and a VI heretic from Nepal. consider visitng my personal site

if in case you want to contact me

slowly moving away from github, considering gitlab now on gitlab!

kalemediaplayer's People

Contributors

0kalekale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kalemediaplayer's Issues

Add keybindings for media control

Add keybindings for media control

as of now there is no way to control the media

TODO:

  • keybindings for pause/play/quit
  • keybindings for seek forward and backward
  • keybindings for volume control

kmp command not working even after the build

meson logs:

The Meson build system
Version: 0.53.2
Source dir: /home/user/Desktop/c/kalemediaplayer
Build dir: /home/user/Desktop/c/kalemediaplayer/build
Build type: native build
Project name: kmp
Project version: 0.1
C compiler for the host machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0")
C linker for the host machine: cc ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Run-time dependency gstreamer-1.0 found: YES 1.16.2
Run-time dependency glib-2.0 found: YES 2.64.6
Run-time dependency gtk+-3.0 found: YES 3.24.20
Run-time dependency gstreamer-video-1.0 found: YES 1.16.2
Build targets in project: 1

Found ninja-1.10.0 at /usr/bin/ninja

ninja logs:

ninja: Entering directory `build'
[4/6] Compiling C object 'kmp@exe/src_kmp.c.o'.
../src/kmp.c: In function ‘gst_init_main’:
../src/kmp.c:145:3: warning: implicit declaration of function ‘wait’ [-Wimplicit-function-declaration]
  145 |   wait(NULL);
      |   ^~~~
../src/kmp.c:66:24: warning: unused variable ‘ret’ [-Wunused-variable]
   66 |   GstStateChangeReturn ret;
      |                        ^~~
In file included from ../src/kmp.c:10:
At top level:
../src/gtk-ui.h:80:13: warning: ‘slider_cb’ defined but not used [-Wunused-function]
   80 | static void slider_cb (GtkRange *range, CustomData *data) {
      |             ^~~~~~~~~
../src/gtk-ui.h:63:17: warning: ‘draw_cb’ defined but not used [-Wunused-function]
   63 | static gboolean draw_cb (GtkWidget *widget, cairo_t *cr, CustomData *data) {
      |                 ^~~~~~~
../src/gtk-ui.h:55:13: warning: ‘delete_event_cb’ defined but not used [-Wunused-function]
   55 | static void delete_event_cb (GtkWidget *widget, GdkEvent *event, CustomData *data) {
      |             ^~~~~~~~~~~~~~~
../src/gtk-ui.h:45:13: warning: ‘pause_cb’ defined but not used [-Wunused-function]
   45 | static void pause_cb (CustomData *data) {
      |             ^~~~~~~~
../src/gtk-ui.h:40:13: warning: ‘play_cb’ defined but not used [-Wunused-function]
   40 | static void play_cb (CustomData *data) {
      |             ^~~~~~~
../src/gtk-ui.h:27:13: warning: ‘realize_cb’ defined but not used [-Wunused-function]
   27 | static void realize_cb (GtkWidget *widget, CustomData *data) {
      |             ^~~~~~~~~~
[5/6] Compiling C object 'kmp@exe/src_gtk-ui.c.o'.
../src/gtk-ui.c: In function ‘create_ui’:
../src/gtk-ui.c:35:3: warning: ‘gtk_widget_set_double_buffered’ is deprecated [-Wdeprecated-declarations]
   35 |   gtk_widget_set_double_buffered (video_window, FALSE);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27,
                 from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
                 from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
                 from /usr/include/gtk-3.0/gtk/gtk.h:31,
                 from ../src/gtk-ui.h:1,
                 from ../src/gtk-ui.c:1:
/usr/include/gtk-3.0/gtk/gtkwidget.h:883:23: note: declared here
  883 | void                  gtk_widget_set_double_buffered    (GtkWidget    *widget,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/gtk-ui.c:1:
At top level:
../src/gtk-ui.h:45:13: warning: ‘pause_cb’ defined but not used [-Wunused-function]
   45 | static void pause_cb (CustomData *data) {
      |             ^~~~~~~~
../src/gtk-ui.h:40:13: warning: ‘play_cb’ defined but not used [-Wunused-function]
   40 | static void play_cb (CustomData *data) {
      |             ^~~~~~~
[6/6] Linking target kmp.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.