Panda3D
 All Classes Functions Variables Enumerations
ffmpegVideoCursor.I
1 // Filename: ffmpegVideoCursor.I
2 // Created by: jyelon (01Aug2007)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: FfmpegVideoCursor::FfmpegBuffer::Constructor
18 // Access: Public
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE FfmpegVideoCursor::FfmpegBuffer::
22 FfmpegBuffer(size_t block_size, double video_timebase) :
23  Buffer(block_size),
24  _begin_frame(-1),
25  _end_frame(0),
26  _video_timebase(video_timebase)
27 {
28 }
Definition: buffer.h:26