So, I noticed that when I do bgav_seek(), it seeks on both audio and
video.  However, when I seek on bgav_seek_audio() or bgav_seek_video() using
the sample accurate api, it only seeks on the audio or video file
pointers.  Is that right?

I was just wondering if the int64_t time argument for bgav_seek_video()
is the same thing as a gavl_time_t.  I see they are both int64_t, but
do they mean the same thing?

In other words, can I do:
        gavl_time_t gt = gavl_samples_to_time( samplerate, seekto ) ;
        bgav_seek_audio( file , 0, seekto );
        bgav_seek_video( file, 0 , gt );

Also:

        gavl_time_t gt = gavl_frames_to_time  (timescale, frame_duration, 
seekto );
        bgav_seek_video(file , 0, gt ); 
        bgav_seek_audio( file , 0, gavl_time_to_samples( samplerate, gt  ) );


thanks-august.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Gmerlin-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmerlin-general

Reply via email to