Changeset 1371457214b9473357de5e8e066d552f168e3e8b
- Timestamp:
- 13/03/08 08:57:39
(9 months ago)
- Author:
- Jean-Paul Saman <jpsaman@videolan.org>
- git-committer:
- Jean-Paul Saman <jpsaman@videolan.org> 1205395059 +0100
- git-parent:
[984723a78f8006b9fea6ba981036d91e2934bab1]
- git-author:
- Jean-Paul Saman <jpsaman@videolan.org> 1205395059 +0100
- Message:
Properly fix use of SWSCALE_* defines in zvbi.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rc61c539 |
r1371457 |
|
| 137 | 137 | |
|---|
| 138 | 138 | /* Misc */ |
|---|
| 139 | | #if defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) |
|---|
| | 139 | #if defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE) |
|---|
| 140 | 140 | image_handler_t *p_image; |
|---|
| 141 | 141 | #endif |
|---|
| … | … | |
| 182 | 182 | memset( p_sys, 0, sizeof(decoder_sys_t) ); |
|---|
| 183 | 183 | |
|---|
| 184 | | #if defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) |
|---|
| | 184 | #if defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE) |
|---|
| 185 | 185 | p_sys->p_image = image_HandlerCreate( VLC_OBJECT(p_dec) ); |
|---|
| 186 | 186 | if( !p_sys->p_image ) |
|---|
| … | … | |
| 226 | 226 | p_dec->fmt_out.video.i_chroma = VLC_FOURCC('T','E','X','T'); |
|---|
| 227 | 227 | else |
|---|
| 228 | | #if defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) |
|---|
| | 228 | #if defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE) |
|---|
| 229 | 229 | p_dec->fmt_out.video.i_chroma = VLC_FOURCC('Y','U','V','A'); |
|---|
| 230 | 230 | #else |
|---|
| … | … | |
| 247 | 247 | var_DelCallback( p_dec, "vbi-opaque", Opaque, p_sys ); |
|---|
| 248 | 248 | |
|---|
| 249 | | #if defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) |
|---|
| | 249 | #if defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE) |
|---|
| 250 | 250 | if( p_sys->p_image ) image_HandlerDelete( p_sys->p_image ); |
|---|
| 251 | 251 | #endif |
|---|
| … | … | |
| 324 | 324 | memset( &fmt, 0, sizeof(video_format_t) ); |
|---|
| 325 | 325 | fmt.i_chroma = p_sys->b_text ? VLC_FOURCC('T','E','X','T') : |
|---|
| 326 | | #if defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) |
|---|
| | 326 | #if defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE) |
|---|
| 327 | 327 | VLC_FOURCC('Y','U','V','A'); |
|---|
| 328 | 328 | #else |
|---|
| … | … | |
| 384 | 384 | else |
|---|
| 385 | 385 | { |
|---|
| 386 | | #if defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) |
|---|
| | 386 | #if defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE) |
|---|
| 387 | 387 | video_format_t fmt_in; |
|---|
| 388 | 388 | picture_t *p_pic, *p_dest; |
|---|