Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

having appsink test not print raw audio data to screen.

  • Loading branch information...
commit 2bd47c1b0367cd940885129f2aaa0bd6c6d31a6e 1 parent d922dc8
@zpmorgan authored
Showing with 1 addition and 7 deletions.
  1. +0 −2  Makefile.PL
  2. +1 −1  t/appsink.t
  3. +0 −4 xs/GstAppSink.xs
View
2  Makefile.PL
@@ -72,8 +72,6 @@ $gst->add_typemaps(map {File::Spec->catfile(cwd(), $_)}
('build/gstappperl.typemap'));
my $gd = ExtUtils::Depends::load('GStreamer');
-#die join ',',@{$gd->{typemaps}};
-#die join "\n",%$gd;
$gst->install(qw(gstappperl.h
build/gstappperl-autogen.h
View
2  t/appsink.t
@@ -34,7 +34,7 @@ my $testfile = File::Spec->rel2abs ('test.avi');
# $player->set_state('paused');
my @state = $player->get_state(-1);
is ($state[0],'success', 'playbin2 is fine.');
-diag $audio_sink->pull_buffer->data;
+#diag $audio_sink->pull_buffer->data;
my @buflist = $audio_sink->pull_buffer_list();
diag "\n" . scalar @buflist . "\n";
}
View
4 xs/GstAppSink.xs
@@ -4,14 +4,10 @@
MODULE = GStreamer::AppSink PACKAGE = GStreamer::AppSink PREFIX = gst_app_sink_
-#void gst_app_sink_set_caps (GstAppSink *appsink,
-# const GstCaps *caps);
void gst_app_sink_set_caps (GstAppSink *appsink ,const GstCaps *caps);
-#GstCaps * gst_app_sink_get_caps (GstAppSink *appsink);
GstCaps *gst_app_sink_get_caps (GstAppSink *appsink);
-#gboolean gst_app_sink_is_eos (GstAppSink *appsink);
gboolean gst_app_sink_is_eos (GstAppSink *appsink);
void gst_app_sink_set_emit_signals (GstAppSink *appsink, gboolean emit);
Please sign in to comment.
Something went wrong with that request. Please try again.