[MPlayer-users] Mplayer + Directfb running on SDL

Peter mpegavc at gmail.com
Fri Feb 24 21:54:43 CET 2006


Sorry about the delay.

Backtrace output:

#0  0x7720d7ac in SDLShim_FreeSurfaceHWData (device=0x82f94c0,
    surface=0x82f9bb0) at SDL_8xxvideo.c:360
#1  0x7720dc2e in I8xx_SetVideoMode (device=0x82f94c0, screen=0x82f9bb0,
    width=720, height=480, bpp=32, flags=1) at SDL_8xxvideo.c:460
#2  0x499176f4 in SDL_SetVideoMode (width=640, height=480, bpp=32, flags=1)
    at SDL_video.c:666
#3  0x77a1432c in dfb_sdl_set_video_mode_handler (config=0x20019ca0)
    at primary.c:551
#4  0x77a14815 in dfb_sdl_set_video_mode (core=0x82fa550, config=0x20019ca0)
    at primary.c:657
#5  0x77a14964 in primarySetRegion (layer=0x82fa498, driver_data=0x0,
    layer_data=0x0, region_data=0x0, config=0x23, updated=CLRCF_ALL,
    surface=0x20015e00, palette=0x0) at primary.c:250
#6  0x77e41ea8 in set_region (region=0x20019c00, config=0x20019ca0,
    flags=CLRCF_ALL, surface=0x20015e00) at layer_region.c:817
#7  0x77e437f8 in realize_region (region=0x20019c00) at layer_region.c:884
#8  0x77e43aaf in dfb_layer_region_enable (region=0x20019c00)
    at layer_region.c:265
#9  0x77e401ab in dfb_layer_context_set_configuration (context=0x20019000,
    config=0x200190a0) at layer_context.c:623
#10 0x77e4038a in dfb_layer_context_get_primary_region (context=0x20019000,
    create=true, ret_region=0x7fffe0a4) at layer_context.c:414
#11 0x77e10867 in IDirectFBDisplayLayer_Construct (thiz=0x82f8b68,
    layer=0x82fa498) at idirectfbdisplaylayer.c:817
#12 0x77e06f19 in GetDisplayLayer_Callback (layer=0x82fa498, ctx=0x7fffe130)
    at idirectfb.c:1338
#13 0x77e44a07 in dfb_layers_enumerate (
    callback=0x77e06e68 <GetDisplayLayer_Callback>, ctx=0x7fffe130)
    at layers.c:463
#14 0x77e05c23 in IDirectFB_GetDisplayLayer (thiz=0x77e06e68, id=0,
    interface=0x7fffe130) at idirectfb.c:864
#15 0x08081b19 in test_format_callback (id=0, desc=
      {type = DLTF_GRAPHICS, caps = DLCAPS_SURFACE, name = "SDL Primary
Layer", '\0' <repeats 14 times>, level = 0, regions = 0, sources = 0},
data=0x7fffe3f0)
    at vo_directfb2.c:363
#16 0x77e06e5f in EnumDisplayLayers_Callback (layer=0x82fa498,
ctx=0x7fffe2b0)
    at idirectfb.c:1324
#17 0x77e44a07 in dfb_layers_enumerate (
    callback=0x77e06e18 <EnumDisplayLayers_Callback>, ctx=0x7fffe2b0)
    at layers.c:463
#18 0x77e05b94 in IDirectFB_EnumDisplayLayers (thiz=0x82fb900,
    callbackfunc=0x77e06e18 <EnumDisplayLayers_Callback>, callbackdata=0x0)
    at idirectfb.c:843
#19 0x080839c6 in control (request=0, data=0x7fffe454) at vo_directfb2.c:430
#20 0x080d910e in query_format (vf=0x0, fmt=842094169) at vf_vo.c:88
#21 0x080d91e8 in config (vf=0x832feb8, width=544, height=576, d_width=768,
    d_height=576, flags=0, outfmt=842094169) at vf_vo.c:46
#22 0x080b1818 in vf_config_wrapper (vf=0x832feb8, width=0, height=576,
    d_width=0, d_height=0, flags=0, outfmt=35) at vf.c:586
#23 0x080ad1ac in mpcodecs_config_vo (sh=0x82f07d8, w=576, h=0,
    preferred_outfmt=0) at vd.c:318
#24 0x080aec49 in decode (sh=0x82f07d8, data=0x77a2d008, len=58832, flags=0)
    at vd_libmpeg2.c:164
#25 0x080acaa3 in decode_video (sh_video=0x82f07d8, start=0x0, in_size=0,
    drop_frame=0) at dec_video.c:316
#26 0x08056718 in main (argc=4, argv=0x7ffff994) at mplayer.c:2695


On 2/20/06, Enrico Weigelt <weigelt at metux.de> wrote:
>
> * Peter <mpegavc at gmail.com> wrote:
>
> <snip>
>
> > I'm trying to run the command: mplayer -vo directfb video.
> > And the DirectFB is running on SDL.
> >
> > But,  an  error causes a Segmentation Fault.
>
> could you try running it in gdb, so we see where the crash happens ?
>
>
> cu
> --
> "*Who am I*? I am Susan Ivanova, Commander, daughter of Andrei and Sophie
>   Ivanova. I am the right hand of vengeance, and the boot that is going
>   to kick your sorry ass all the way back to Earth... I am Death
> Incarnate,
>   and the last living thing that you are ever going to see. God sent me."
>                                                        -- Cmdr. Ivanova
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>



More information about the MPlayer-users mailing list