Commit fec512a5 authored by Stefano Sabatini's avatar Stefano Sabatini

ffplay: give more meaningful names to the buffersink instances

parent 43583fb8
...@@ -1575,12 +1575,12 @@ static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const c ...@@ -1575,12 +1575,12 @@ static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const c
#if FF_API_OLD_VSINK_API #if FF_API_OLD_VSINK_API
ret = avfilter_graph_create_filter(&filt_out, ret = avfilter_graph_create_filter(&filt_out,
avfilter_get_by_name("buffersink"), avfilter_get_by_name("buffersink"),
"out", NULL, (void *)pix_fmts, graph); "ffplay_buffersink", NULL, (void *)pix_fmts, graph);
#else #else
buffersink_params->pixel_fmts = pix_fmts; buffersink_params->pixel_fmts = pix_fmts;
ret = avfilter_graph_create_filter(&filt_out, ret = avfilter_graph_create_filter(&filt_out,
avfilter_get_by_name("buffersink"), avfilter_get_by_name("buffersink"),
"out", NULL, buffersink_params, graph); "ffplay_buffersink", NULL, buffersink_params, graph);
#endif #endif
av_freep(&buffersink_params); av_freep(&buffersink_params);
if (ret < 0) if (ret < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment