Bug 164942 - multimedia/mplayer: v4l support is broken
Summary: multimedia/mplayer: v4l support is broken
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-09 21:30 UTC by Dmitry Marakasov
Modified: 2012-02-10 23:27 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov freebsd_committer freebsd_triage 2012-02-09 21:30:09 UTC
V4L support in mplayer was broken with last update.

---
% mplayer -tv driver=help tv://
MPlayer SVN-r34449-snapshot-4.2.1 (C) 2000-2011 MPlayer Team

Playing tv://.
Cache fill:  0.00% (0 bytes)   

TV file format detected.
Available drivers:
 bsdbt848	Brooktree848 Support (in development)
 dummy	NULL-TV


Exiting... (End of file)
---

as you can see, only bsdbt848 and dummy drivers are available, source files tvi_v4l*.c with corresponding drivers are not shown in the build log, and config.mak says

TV_V4L  =
TV_V4L1 = auto
TV_V4L2 = no
...
V4L2 = no

older version (mplayer-1.0.r20110329_3) prints:

---
% mplayer -tv driver=help tv://
MPlayer SVN-r33137-snapshot-4.2.1 (C) 2000-2011 MPlayer Team

Playing tv://.
Cache fill:  0.00% (0 bytes)   

TV file format detected.
Available drivers:
 v4l2	Video 4 Linux 2 input (first try, more to come ;-))
 v4l	Video 4 Linux input (under development)
 bsdbt848	Brooktree848 Support (in development)
 dummy	NULL-TV


Exiting... (End of file)
---

config.mak:

TV_V4L  = yes
TV_V4L1 = yes
TV_V4L2 = yes
...
V4L2 = no

fill diff of config.mak between old and new versions might also be useful, as it may point to other broken features:

http://people.freebsd.org/~amdmi3/mplayer-config.mak.diff

At least this look suspicious to me:

-AUDIO_INPUT = yes
+AUDIO_INPUT =
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-02-09 21:30:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

Submitter has GNATS access (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-02-09 21:30:25 UTC
Maintainer of multimedia/mplayer,

Please note that PR ports/164942 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/164942

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2012-02-09 21:30:29 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Thomas Zander 2012-02-10 06:14:38 UTC
Actually, the patch I wrote for
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/164639

also contains changes which should fix v4l. I'm just waiting for this
to get committed.
Riggs
Comment 5 Dmitry Marakasov freebsd_committer freebsd_triage 2012-02-10 23:27:15 UTC
State Changed
From-To: feedback->closed

Fixed by ports/164639