Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362537 - media-libs/mediastreamer video flag should be named
Summary: media-libs/mediastreamer video flag should be named
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mounir Lamouri (volkmar) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 356977
Blocks:
  Show dependency tree
 
Reported: 2011-04-07 22:12 UTC by tdr
Modified: 2011-04-09 09:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2011-04-07 22:12:21 UTC
The video flag for mediastreamer actually provides v4l version 1 support.  Renaming the flag v4l or v4l1 or v4l-old would better reflect its purpose and be consistent with its v4l2 flag.

Reproducible: Always

Steps to Reproduce:
1. USE="video -v4l2" emerge mediastreamer

Actual Results:  
build fails with >=linux-header-2.6.38 do to missing videodev.h (v4l version 1 header)


This won't fix any problems, just reflect the real use of the flag and clarify which packages use v4l-1 during phase out since 2.6.38 kernels/headers no longer support it.
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2011-04-08 09:36:34 UTC
Well, actually mediastreamer does much more then support for webcams:

Mediastreamer2 is a powerful and lightweighted streaming engine specialized for voice/video telephony applications. It is the library that is responsible for all the receiving and sending of multimedia streams in linphone, including voice/video capture, encoding and decoding, and rendering.

Features

    Read/Write from to an alsa device, an oss device, a windows waveapi device
    Send and receive RTP packets
    Encode and decode the following formats: speex, G711, GSM, iLBC, AMR , H263, theora, MPEG4, and H264.
    Read and write from/to a wav file
    Read YUV pictures from a webcam (provided that it has video4linux v1 or v2 driver)
    Display YUV pictures (using SDL library or native apis on windows)
    Dual tones generation
    Echo cancelation, using the extraordinary echo canceler algorithm from the speex library
    Audio conferencing
    Audio parametric equalizer using a FIR filter
    Volume control, automatic gain control

Thus video is better suited name for this task. While build issue should be fixed.
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2011-04-08 09:51:04 UTC
Also taking into account that configure script asks to enable v4l2 in any case, I'm going to drop v4l2 USE flag and keep video in next version bump.

In any case thank you for report!
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2011-04-09 06:28:08 UTC
video USE flag works for me. v4l2 was dropped from ebuild, to avoid automagic dep reported in bug 352713.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2011-04-09 09:42:14 UTC
and just to put final dot here: mediastreamer is useful with USE=video but without v4l2. I don't have webcam, but I'd like to see face of my peer.

So I've put v4l2 back and I've fixed automagic dependency on libv4l{1,2} for bug 361107.