[mythtv-commits] Ticket #10174: MythZoneminder - Mapped memory - Patch

MythTV noreply at mythtv.org
Mon Nov 21 14:57:17 UTC 2011


#10174: MythZoneminder - Mapped memory - Patch
-------------------------------------------------+-------------------------
     Reporter:  Argus <pthorn-mythd@…>           |      Owner:  paulh
         Type:  Patch - Bug Fix                  |     Status:  new
     Priority:  minor                            |  Milestone:  unknown
    Component:  Plugin - MythZoneminder          |    Version:  0.24-fixes
     Severity:  medium                           |   Keywords:
Ticket locked:  0                                |
-------------------------------------------------+-------------------------
 Mythzmserver doesn't support ''memory mapped'' Zoneminder installations,
 which have become the default in recent releases (1.24.4). For instance,
 after an upgrade to Ubuntu Oneiric, the zoneminder apt package is compiled
 with mmap support by default, which no longer interoperates with
 mythzmserver out of the box.

 As a workaround, the Mythzoneminder wiki entry is clear about this and
 suggests the recompile and installation of Zoneminder from source using
 shared memory options, which should work fine.

 Instead, I'd like to suggest the attached patch to make mythzmserver
 compatible with the memory mapping method, while maintaining the original
 shmget() functionality as a failover.

 Tested using branch fixes/0.24 and Zoneminder 1.24.4 (Ubuntu repository
 packages).

 MythTV Version   : v0.24.1-107-g088335b
 MythTV Branch    : fixes/0.24
 Network Protocol : 63
 Library API      : 0.24.20110505-1
 QT Version       : 4.7.4
 Options compiled in:
  linux release using_oss using_backend using_bindings_perl
 using_bindings_python using_dvb using_frontend using_hdhomerun using_hdpvr
 using_iptv using_ivtv using_joystick_menu using_lirc using_mheg
 using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit
 using_v4l using_x11 using_bindings_perl using_bindings_python
 using_mythtranscode using_opengl using_ffmpeg_threads using_live
 using_mheg

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10174>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list