Revision cfc97077 ffplay.c

View differences:

ffplay.c
1908 1908
        goto fail;
1909 1909
    }
1910 1910
    is->ic = ic;
1911
#ifdef CONFIG_NETWORK
1911
#ifdef CONFIG_RTSP_DEMUXER
1912 1912
    use_play = (ic->iformat == &rtsp_demuxer);
1913 1913
#else
1914 1914
    use_play = 0;
......
2410 2410
    frame_pix_fmt = avcodec_get_pix_fmt(arg);
2411 2411
}
2412 2412

  
2413
#ifdef CONFIG_NETWORK
2413
#ifdef CONFIG_RTSP_DEMUXER
2414 2414
static void opt_rtp_tcp(void)
2415 2415
{
2416 2416
    /* only tcp protocol */
......
2482 2482
    { "idct", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&idct}, "set idct algo",  "algo" },
2483 2483
    { "er", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&error_resilience}, "set error detection threshold (0-4)",  "threshold" },
2484 2484
    { "ec", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&error_concealment}, "set error concealment options",  "bit_mask" },
2485
#ifdef CONFIG_NETWORK
2485
#ifdef CONFIG_RTSP_DEMUXER
2486 2486
    { "rtp_tcp", OPT_EXPERT, {(void*)&opt_rtp_tcp}, "force RTP/TCP protocol usage", "" },
2487 2487
#endif
2488 2488
    { "sync", HAS_ARG | OPT_EXPERT, {(void*)opt_sync}, "set audio-video sync. type (type=audio/video/ext)", "type" },

Also available in: Unified diff