diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-01-04 22:26:28 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-01-04 22:26:28 +0000 |
commit | b831c841f570dde9092dfbbf1fc4a40f8b5c301c (patch) | |
tree | 49eb53dbbc44ea6ab82042f1f0ae471fdc7141c9 /src/dxr3/dxr3_scr.h | |
parent | 5d919982e44bae40e8f9f0c57713b870e7a96582 (diff) | |
download | xine-lib-b831c841f570dde9092dfbbf1fc4a40f8b5c301c.tar.gz xine-lib-b831c841f570dde9092dfbbf1fc4a40f8b5c301c.tar.bz2 |
The most important change is the smallest:
* add a small delay before enabling zoom mode, since the card gets confused
when we activate zoom mode before the first frame
(that's also what the ChangeLog entry accounts for)
Then some less important changes:
* give a hint about sync mode to the SCR plugin to properly recover the mode
when resuming from pause mode
* refactor the enhanced mode handling out of the MPEG encoders into video out
* inline some decoder functions, because they are only used once anyway
* some additional cleanup
CVS patchset: 5996
CVS date: 2004/01/04 22:26:28
Diffstat (limited to 'src/dxr3/dxr3_scr.h')
-rw-r--r-- | src/dxr3/dxr3_scr.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dxr3/dxr3_scr.h b/src/dxr3/dxr3_scr.h index d14840d41..fe4f1ccbe 100644 --- a/src/dxr3/dxr3_scr.h +++ b/src/dxr3/dxr3_scr.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: dxr3_scr.h,v 1.6 2003/12/09 00:02:29 f1rmb Exp $ + * $Id: dxr3_scr.h,v 1.7 2004/01/04 22:26:29 mroi Exp $ */ #include "xine_internal.h" @@ -28,13 +28,15 @@ typedef struct dxr3_scr_s { scr_plugin_t scr_plugin; pthread_mutex_t mutex; + xine_t *xine; + int fd_control; /* to access the dxr3 control device */ int priority; int64_t offset; /* difference between real scr and internal dxr3 clock */ uint32_t last_pts; /* last known value of internal dxr3 clock to detect wrap around */ int scanning; /* are we in a scanning mode */ - xine_t *xine; + int sync; /* are we in sync mode */ } dxr3_scr_t; /* plugin initialization function */ |