Re: Query on savage display and motv capture

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>  The problems...
>   - I must disable hardware scaling (-noscale) to get any reasonable image
>  to appear. The default gets me a static bright green image in place of the
>  video.

Sounds like a S3 driver issue, xf86 4.2 might help.

>   - I cannot capture a still - I get a window labelled "Error" with a series
>  of messages similar to...
>    conv: 15 bit TrueColor (BE) => 8 bit static gray
>    ...
>    conv: 24 bit TrueColor (LE:bgr) => 24 bit TrueColor (BE:bgr)

Sure it didn't work?  The messages are some debug printf I forgot to
remove.

>  A related set of questions... We like the basic interface of motv, but
>  would like to see...
>   - the control buttons on the video window (don't need the pop up window)

No.  It is done intentionally the way it currently is.  There are
lots of keyboard shortcuts for lazy people who don't want to popup the
window all the time.

>   - [option to] remove the menu from the pop up window (so the users can't
>  screw up the configuration file)

No.  If you don't want them to modify the configuration, don't give them
write access to the config file.  You can also easily grey out the "save
config" menu item by setting the sensitive ressource for the menu item
to 0, even without modifying the source code:

echo "control*menubar*save.sensitive: 0" | xrdb -merge

>   - a button added for the "Scales" (brightness, contrast...)
>   - a button added to auto scan the configured channels (to fill the images
>  in the pop up window)

Easy, needs just a few lines of code.  And a fancy pixmap for the button
of course ...

>  Are these hard to do and where should I look in the code to implement them?
>  I also understand OpenMotif 2.2 implements tool tips (pop up text for
>  widgets) Are the buttons and/or windows subclassed from XmPrimitive or
>  XmGadget so they could use them? I wouldn't mind putting a couple weeks of
>  work on these kind of changes.

You don't know Motif, do you?  XmPrimitive is the very basic Motif
widget, all but the Shell Widgets are subclassed from it.  Tooltips for
the buttons are pretty trivial to do with OpenMotif 2.2, just a few
lines in the app-defaults.

  Gerd

-- 
#define	ENOCLUE 125 /* userland programmer induced race condition */





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux