mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-04-05 03:04:41 +00:00
use AUX_* macros in hdstation instead of selfish aux interpretation
This commit is contained in:
@@ -245,7 +245,10 @@ void *vidcap_hdstation_init(char *fmt)
|
||||
|
||||
s->frame.width = s->mode->width;
|
||||
s->frame.height = s->mode->height;
|
||||
s->frame.aux = s->mode->interlaced;
|
||||
if(s->mode->interlaced)
|
||||
s->frame.aux = AUX_INTERLACED;
|
||||
else
|
||||
s->frame.aux = AUX_PROGRESSIVE;
|
||||
|
||||
aligned_x = s->frame.width;
|
||||
if (h_align) {
|
||||
|
||||
@@ -230,7 +230,10 @@ reconfigure_screen(void *state, unsigned int width, unsigned int height,
|
||||
s->frame.dst_bpp = get_bpp(color_spec);
|
||||
s->frame.fps = fps;
|
||||
s->frame.aux = aux;
|
||||
s->interlaced = aux;
|
||||
if(aux & AUX_INTERLACED)
|
||||
s->interlaced = 1;
|
||||
else
|
||||
s->interlaced = 0;
|
||||
|
||||
s->hd_video_mode = SV_MODE_COLOR_YUV422 | SV_MODE_ACTIVE_STREAMER;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user