Re: GStreamer 0.01



Am Montag, den 23.05.2005, 22:53 +0200 schrieb Torsten Schoenfeld:
On Mon, 2005-05-09 at 21:36 +0200, Torsten Schoenfeld wrote:

Looks like we need custom conversion handling for this type.  I'll look
into it.

I just committed this to CVS.  It *looks* like it's working ok, but I'm
not too sure.  Can you do some tests and report back if it worked for
you too?

But I'll definitely file a very cranky bug report, too!

http://bugzilla.gnome.org/show_bug.cgi?id=305256


OK, it doesn't get rejected, but it's not what I expected:

#!/usr/bin/perl

use GStreamer -init;

my $input = GStreamer::ElementFactory->make("filesrc", "source");
my $decoder = GStreamer::ElementFactory->make("mad", "mad");
my $output = GStreamer::ElementFactory->make("alsasink", "sink");
my $pipe = GStreamer::Thread->new("pipe");
$input->set("location", "/home/mblaesing/musik/musik/Ace of Base - All
That She Wants.mp3");

$pipe->add_many($input, $decoder, $output);
$input->link($decoder, $output);

$pipe->set_state("playing");

Glib::Timeout->add(5000, sub{
        print "seeking\n";
        print $output->seek(["time", "method-set", "flag-flush"], 30000000000).
"\n"
});

GStreamer->main();


Tried the same with the python bindings and jea, every 5 Seconds it
jumps to the 30. Second of the title. The Perl Variant does "something"
but not what I expext. It sounds as if the buffers get flushed, but the
playing just continues at the same position.

HTH

Matthias
-- 
Matthias Bläsing
ICQ: 84617206   AIM: linuxfun81   MSN: linuxfun hotmail com
"Diejenigen, die nicht schockiert sind, wenn sie zum ersten mal mit
Quantenmechanik zu tun haben, haben sie nicht verstanden." (Niels Bohr)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]