Mercurial > mplayer.hg
comparison stream/tvi_dshow.c @ 33622:27f7a3196e18
tvi_dshow: Adjust mp_msg printf conversion specifier to avoid warnings.
stream/tvi_dshow.c:2807: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'long unsigned int'
stream/tvi_dshow.c:2821: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'long unsigned int'i
author | diego |
---|---|
date | Wed, 22 Jun 2011 13:48:51 +0000 |
parents | bdfb1aeb4b41 |
children | 277ec491a8a7 |
comparison
equal
deleted
inserted
replaced
33621:18b47d32b0d0 | 33622:27f7a3196e18 |
---|---|
2802 (to avoid another additional check everywhere for array presence). | 2802 (to avoid another additional check everywhere for array presence). |
2803 */ | 2803 */ |
2804 hr = init_chain_common(priv->pBuilder, priv->chains[1]); | 2804 hr = init_chain_common(priv->pBuilder, priv->chains[1]); |
2805 if(FAILED(hr)) | 2805 if(FAILED(hr)) |
2806 { | 2806 { |
2807 mp_msg(MSGT_TV, MSGL_V, "tvi_dshow: Unable to initialize audio chain (Error:0x%x). Audio disabled\n", (unsigned long)hr); | 2807 mp_msg(MSGT_TV, MSGL_V, |
2808 "tvi_dshow: Unable to initialize audio chain (Error:0x%lx). Audio disabled\n", | |
2809 (unsigned long)hr); | |
2808 priv->chains[1]->arpmt=calloc(1, sizeof(AM_MEDIA_TYPE*)); | 2810 priv->chains[1]->arpmt=calloc(1, sizeof(AM_MEDIA_TYPE*)); |
2809 priv->chains[1]->arStreamCaps=calloc(1, sizeof(void*)); | 2811 priv->chains[1]->arStreamCaps=calloc(1, sizeof(void*)); |
2810 } | 2812 } |
2811 | 2813 |
2812 /* | 2814 /* |
2816 (to avoid another additional check everywhere for array presence). | 2818 (to avoid another additional check everywhere for array presence). |
2817 */ | 2819 */ |
2818 hr = init_chain_common(priv->pBuilder, priv->chains[2]); | 2820 hr = init_chain_common(priv->pBuilder, priv->chains[2]); |
2819 if(FAILED(hr)) | 2821 if(FAILED(hr)) |
2820 { | 2822 { |
2821 mp_msg(MSGT_TV, MSGL_V, "tvi_dshow: Unable to initialize VBI chain (Error:0x%x). Teletext disabled\n", (unsigned long)hr); | 2823 mp_msg(MSGT_TV, MSGL_V, |
2824 "tvi_dshow: Unable to initialize VBI chain (Error:0x%lx). Teletext disabled\n", | |
2825 (unsigned long)hr); | |
2822 priv->chains[2]->arpmt=calloc(1, sizeof(AM_MEDIA_TYPE*)); | 2826 priv->chains[2]->arpmt=calloc(1, sizeof(AM_MEDIA_TYPE*)); |
2823 priv->chains[2]->arStreamCaps=calloc(1, sizeof(void*)); | 2827 priv->chains[2]->arStreamCaps=calloc(1, sizeof(void*)); |
2824 } | 2828 } |
2825 | 2829 |
2826 if (!priv->chains[0]->pStreamConfig) | 2830 if (!priv->chains[0]->pStreamConfig) |